Skip to content
This repository has been archived by the owner on Feb 11, 2021. It is now read-only.

Commit

Permalink
Specify joystick (accelerometer) support for iOS in the config header.
Browse files Browse the repository at this point in the history
Fixes Bugzilla #1292.

Thanks to Vittorio Giovara for the patch!
  • Loading branch information
icculus committed Oct 14, 2011
1 parent f987240 commit ac7bc0b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions include/SDL_config_iphoneos.h
Expand Up @@ -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
*/
Expand Down

0 comments on commit ac7bc0b

Please sign in to comment.