From 134362e7455873fd8cce255334f170ede39c4ec2 Mon Sep 17 00:00:00 2001 From: Cameron Gutman Date: Sat, 25 Apr 2020 19:15:51 -0700 Subject: [PATCH] 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 --- src/joystick/hidapi/SDL_hidapijoystick_c.h | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/joystick/hidapi/SDL_hidapijoystick_c.h b/src/joystick/hidapi/SDL_hidapijoystick_c.h index 363ed3273..0d8281bbc 100644 --- a/src/joystick/hidapi/SDL_hidapijoystick_c.h +++ b/src/joystick/hidapi/SDL_hidapijoystick_c.h @@ -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