Skip to content

Commit

Permalink
It turns out HIDAPI for Xbox controllers doesn't allow background inp…
Browse files Browse the repository at this point in the history
…ut, so we won't enable it by default on Windows.
  • Loading branch information
slouken committed Oct 5, 2018
1 parent a0c5366 commit f01cdce
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/joystick/hidapi/SDL_hidapijoystick_c.h
Expand Up @@ -34,6 +34,8 @@
#ifdef __WINDOWS__
/* On Windows, Xbox One controllers are handled by the Xbox 360 driver */
#undef SDL_JOYSTICK_HIDAPI_XBOXONE
/* It turns out HIDAPI for Xbox controllers doesn't allow background input */
#undef SDL_JOYSTICK_HIDAPI_XBOX360
#endif

#ifdef __MACOSX__
Expand Down

0 comments on commit f01cdce

Please sign in to comment.