diff options
author | Ryan C. Gordon <icculus@icculus.org> | 2011-10-14 00:20:44 -0400 |
---|---|---|
committer | Ryan C. Gordon <icculus@icculus.org> | 2011-10-14 00:20:44 -0400 |
commit | 0d3b975372de1c072b4c4fec33e56dcf812cf9af (patch) | |
tree | d1b318172f0549bd5434430df3eca9deb1164164 /include | |
parent | f28788df95bcd16964cb5c435fea0403225b5ab6 (diff) |
Specify joystick (accelerometer) support for iOS in the config header.
Fixes Bugzilla #1292.
Thanks to Vittorio Giovara for the patch!
Diffstat (limited to 'include')
-rw-r--r-- | include/SDL_config_iphoneos.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/SDL_config_iphoneos.h b/include/SDL_config_iphoneos.h index e6a1dea9..f953efef 100644 --- a/include/SDL_config_iphoneos.h +++ b/include/SDL_config_iphoneos.h @@ -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 */ |