mirror of
https://github.com/yawut/SDL.git
synced 2026-08-22 16:55:29 -05:00
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:
@@ -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
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user