diff options
author | sfan5 <sfan5@live.de> | 2022-07-18 21:34:47 +0200 |
---|---|---|
committer | sfan5 <sfan5@live.de> | 2022-07-18 21:42:43 +0200 |
commit | 91edd214aa0e8a5e9192a2fc9188a19fc5bf135e (patch) | |
tree | f326b4a7c4734b76c3efe48e89f6fe8dd1c771be /include/IrrCompileConfig.h | |
parent | 538c9e5cde425ecee1e802fd53344111683b60be (diff) | |
download | irrlicht-91edd214aa0e8a5e9192a2fc9188a19fc5bf135e.tar.xz |
Enable XInput2 by default (and improve CMake detection)
closes #73
Diffstat (limited to 'include/IrrCompileConfig.h')
-rw-r--r-- | include/IrrCompileConfig.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/IrrCompileConfig.h b/include/IrrCompileConfig.h index 4c1cb73..16ac7e5 100644 --- a/include/IrrCompileConfig.h +++ b/include/IrrCompileConfig.h @@ -274,6 +274,7 @@ define out. */ #if defined(_IRR_LINUX_PLATFORM_) && defined(_IRR_COMPILE_WITH_X11_)
//! XInput2 (library called Xi) is currently only used to support touch-input.
+#define _IRR_LINUX_X11_XINPUT2_
#ifdef NO_IRR_LINUX_X11_XINPUT2_
#undef _IRR_LINUX_X11_XINPUT2_
#endif
|