Enable XInput2 by default (and improve CMake detection)

closes #73
This commit is contained in:
sfan5
2022-07-18 21:34:47 +02:00
parent 538c9e5cde
commit 91edd214aa
3 changed files with 8 additions and 7 deletions

View File

@ -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