Removed SDL_IPHONE_MAX_GFORCE

We no longer support interpreting the accelerometer as a joystick.

Fixes https://github.com/libsdl-org/SDL/issues/11005
This commit is contained in:
Sam Lantinga
2024-10-01 18:00:22 -07:00
parent 34033d5838
commit 91b074beb7
3 changed files with 2 additions and 14 deletions

View File

@@ -161,12 +161,6 @@ typedef enum SDL_JoystickConnectionState
#define SDL_JOYSTICK_AXIS_MIN -32768
/* 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 */
/**