mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-05-31 08:57:40 +00:00
Including SDL_config_iphoneos.h enables MFI controller code
This commit is contained in:
parent
eba069eaf0
commit
c63bbb06e9
4 changed files with 6 additions and 12 deletions
|
@ -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 */
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue