Commit 32104bc3 authored by Ryan C. Gordon's avatar Ryan C. Gordon

Specify joystick (accelerometer) support for iOS in the config header.

Fixes Bugzilla #1292.

Thanks to Vittorio Giovara for the patch!
parent 578cd935
...@@ -140,6 +140,9 @@ ...@@ -140,6 +140,9 @@
/* enable iPhone keyboard support */ /* enable iPhone keyboard support */
#define SDL_IPHONE_KEYBOARD 1 #define SDL_IPHONE_KEYBOARD 1
/* enable joystick subsystem */
#define SDL_JOYSTICK_DISABLED 0
/* Set max recognized G-force from accelerometer /* Set max recognized G-force from accelerometer
See src/joystick/uikit/SDLUIAccelerationDelegate.m for notes on why this is needed See src/joystick/uikit/SDLUIAccelerationDelegate.m for notes on why this is needed
*/ */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment