Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

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

Fixes Bugzilla #1292.

Thanks to Vittorio Giovara for the patch!
  • Loading branch information
icculus committed Oct 14, 2011
1 parent f987240 commit ac7bc0bb0ba59354fdd28f78b4b870713c949e5c
Showing with 3 additions and 0 deletions.
  1. +3 −0 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
*/

0 comments on commit ac7bc0b

Please sign in to comment.