From ac7bc0bb0ba59354fdd28f78b4b870713c949e5c Mon Sep 17 00:00:00 2001 From: "Ryan C. Gordon" Date: Fri, 14 Oct 2011 00:20:44 -0400 Subject: [PATCH] Specify joystick (accelerometer) support for iOS in the config header. Fixes Bugzilla #1292. Thanks to Vittorio Giovara for the patch! --- include/SDL_config_iphoneos.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/SDL_config_iphoneos.h b/include/SDL_config_iphoneos.h index e6a1dea92..f953efef7 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 */