mirror of https://github.com/encounter/SDL.git
Enable Xbox One HIDAPI driver on macOS
The Xbox One HIDAPI driver is required on macOS for Xbox One S Bluetooth support since https://hg.libsdl.org/SDL/rev/10c3a10908e9
This commit is contained in:
parent
ac1f174ad5
commit
134362e745
|
@ -42,11 +42,6 @@
|
||||||
#undef SDL_JOYSTICK_HIDAPI_XBOXONE
|
#undef SDL_JOYSTICK_HIDAPI_XBOXONE
|
||||||
#endif
|
#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__)
|
#if defined(__IPHONEOS__) || defined(__TVOS__) || defined(__ANDROID__)
|
||||||
/* Very basic Steam Controller support on mobile devices */
|
/* Very basic Steam Controller support on mobile devices */
|
||||||
#define SDL_JOYSTICK_HIDAPI_STEAM
|
#define SDL_JOYSTICK_HIDAPI_STEAM
|
||||||
|
|
Loading…
Reference in New Issue