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

Fixes Bugzilla #1292.

Thanks to Vittorio Giovara for the patch!
This commit is contained in:
Ryan C. Gordon
2011-10-14 00:20:44 -04:00
parent d6af3b40e5
commit 15426080c6

View File

@@ -140,6 +140,9 @@
/* enable iPhone keyboard support */
#define SDL_IPHONE_KEYBOARD 1
/* enable joystick subsystem */
#define SDL_JOYSTICK_DISABLED 0
/* Set max recognized G-force from accelerometer
See src/joystick/uikit/SDLUIAccelerationDelegate.m for notes on why this is needed
*/