mirror of
https://github.com/libsdl-org/SDL.git
synced 2024-11-27 13:53:37 +08:00
Disable SDL_JOYSTICK_HIDAPI on iOS and tvOS by default
It's only needed for Steam Controller support, and introduces a Bluetooth framework dependency which requires additional permissions on the App Store.
This commit is contained in:
parent
ebf315e0f2
commit
7854f43b6d
@ -138,8 +138,9 @@
|
|||||||
/* Enable the stub haptic driver (src/haptic/dummy/\*.c) */
|
/* Enable the stub haptic driver (src/haptic/dummy/\*.c) */
|
||||||
#define SDL_HAPTIC_DUMMY 1
|
#define SDL_HAPTIC_DUMMY 1
|
||||||
|
|
||||||
/* Enable MFi joystick support */
|
/* Enable joystick support */
|
||||||
#define SDL_JOYSTICK_HIDAPI 1
|
/* Only enable HIDAPI support if you want to support Steam Controllers on iOS and tvOS */
|
||||||
|
/*#define SDL_JOYSTICK_HIDAPI 1*/
|
||||||
#define SDL_JOYSTICK_MFI 1
|
#define SDL_JOYSTICK_MFI 1
|
||||||
#define SDL_JOYSTICK_VIRTUAL 1
|
#define SDL_JOYSTICK_VIRTUAL 1
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user