It turns out HIDAPI for Xbox controllers doesn't allow background input, so we won't enable it by default on Windows.
authorSam Lantinga <slouken@libsdl.org>
Fri, 05 Oct 2018 01:41:59 -0700
changeset 122965b48897016d2
parent 12292 f4dde3c6bae9
child 12298 c4d5e502c1f4
It turns out HIDAPI for Xbox controllers doesn't allow background input, so we won't enable it by default on Windows.
src/joystick/hidapi/SDL_hidapijoystick_c.h
     1.1 --- a/src/joystick/hidapi/SDL_hidapijoystick_c.h	Thu Oct 04 16:29:17 2018 -0700
     1.2 +++ b/src/joystick/hidapi/SDL_hidapijoystick_c.h	Fri Oct 05 01:41:59 2018 -0700
     1.3 @@ -34,6 +34,8 @@
     1.4  #ifdef __WINDOWS__
     1.5  /* On Windows, Xbox One controllers are handled by the Xbox 360 driver */
     1.6  #undef SDL_JOYSTICK_HIDAPI_XBOXONE
     1.7 +/* It turns out HIDAPI for Xbox controllers doesn't allow background input */
     1.8 +#undef SDL_JOYSTICK_HIDAPI_XBOX360
     1.9  #endif
    1.10  
    1.11  #ifdef __MACOSX__