mirror of https://github.com/encounter/SDL.git
It turns out HIDAPI for Xbox controllers doesn't allow background input, so we won't enable it by default on Windows.
This commit is contained in:
parent
a0c53668e6
commit
f01cdcedbc
|
@ -34,6 +34,8 @@
|
||||||
#ifdef __WINDOWS__
|
#ifdef __WINDOWS__
|
||||||
/* On Windows, Xbox One controllers are handled by the Xbox 360 driver */
|
/* On Windows, Xbox One controllers are handled by the Xbox 360 driver */
|
||||||
#undef SDL_JOYSTICK_HIDAPI_XBOXONE
|
#undef SDL_JOYSTICK_HIDAPI_XBOXONE
|
||||||
|
/* It turns out HIDAPI for Xbox controllers doesn't allow background input */
|
||||||
|
#undef SDL_JOYSTICK_HIDAPI_XBOX360
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef __MACOSX__
|
#ifdef __MACOSX__
|
||||||
|
|
Loading…
Reference in New Issue