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 578cd935a0
commit 32104bc32e

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
*/