Skip to content

Commit

Permalink
Enable Xbox One HIDAPI driver on macOS
Browse files Browse the repository at this point in the history
The Xbox One HIDAPI driver is required on macOS for Xbox One S Bluetooth
support since https://hg.libsdl.org/SDL/rev/10c3a10908e9
  • Loading branch information
cgutman committed Apr 26, 2020
1 parent ac1f174 commit 134362e
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/joystick/hidapi/SDL_hidapijoystick_c.h
Expand Up @@ -42,11 +42,6 @@
#undef SDL_JOYSTICK_HIDAPI_XBOXONE
#endif

#ifdef __MACOSX__
/* On Mac OS X, Xbox One controllers are handled by the Xbox 360 driver */
#undef SDL_JOYSTICK_HIDAPI_XBOXONE
#endif

#if defined(__IPHONEOS__) || defined(__TVOS__) || defined(__ANDROID__)
/* Very basic Steam Controller support on mobile devices */
#define SDL_JOYSTICK_HIDAPI_STEAM
Expand Down

0 comments on commit 134362e

Please sign in to comment.