Including SDL_config_iphoneos.h enables MFI controller code

This commit is contained in:
Sam Lantinga 2020-11-24 06:55:33 -08:00
parent eba069eaf0
commit c63bbb06e9
4 changed files with 6 additions and 12 deletions

View file

@ -105,6 +105,11 @@ typedef enum
SDL_JOYSTICK_POWER_MAX
} SDL_JoystickPowerLevel;
/* Set max recognized G-force from accelerometer
See src/joystick/uikit/SDL_sysjoystick.m for notes on why this is needed
*/
#define SDL_IPHONE_MAX_GFORCE 5.0
/* Function prototypes */