include/SDL_config_iphoneos.h
changeset 9876 1496e502e51d
parent 9619 b94b6d0bff0f
child 9998 f67cf37e9cd4
     1.1 --- a/include/SDL_config_iphoneos.h	Fri Sep 18 16:22:23 2015 -0400
     1.2 +++ b/include/SDL_config_iphoneos.h	Sun Sep 20 23:08:36 2015 -0300
     1.3 @@ -115,8 +115,11 @@
     1.4  /* Enable the stub haptic driver (src/haptic/dummy/\*.c) */
     1.5  #define SDL_HAPTIC_DUMMY 1
     1.6  
     1.7 +/* Enable MFi joystick support */
     1.8 +#define SDL_JOYSTICK_MFI 1
     1.9 +
    1.10  /* Enable Unix style SO loading */
    1.11 -/* Technically this works, but it violates the iPhone developer agreement */
    1.12 +/* Technically this works, but violates the iOS dev agreement prior to iOS 8 */
    1.13  /* #define SDL_LOADSO_DLOPEN 1 */
    1.14  
    1.15  /* Enable the stub shared object loader (src/loadso/dummy/\*.c) */
    1.16 @@ -148,9 +151,6 @@
    1.17  /* enable iOS extended launch screen */
    1.18  #define SDL_IPHONE_LAUNCHSCREEN 1
    1.19  
    1.20 -/* enable joystick subsystem */
    1.21 -#define SDL_JOYSTICK_DISABLED 0
    1.22 -
    1.23  /* Set max recognized G-force from accelerometer
    1.24     See src/joystick/uikit/SDL_sysjoystick.m for notes on why this is needed
    1.25   */