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:
parent
578cd935a0
commit
32104bc32e
1 changed files with 3 additions and 0 deletions
|
@ -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
|
||||
*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue