Haptics aren't available on iOS, but use the dummy implementation instead of failing init if it's requested.
authorSam Lantinga <slouken@libsdl.org>
Tue, 05 Aug 2014 21:03:02 -0700
changeset 90445716114f158e
parent 9041 89e97caa2387
child 9045 c689ac0e8411
child 9511 f08e88fe9de5
Haptics aren't available on iOS, but use the dummy implementation instead of failing init if it's requested.
include/SDL_config_iphoneos.h
     1.1 --- a/include/SDL_config_iphoneos.h	Thu Jul 31 12:46:23 2014 -0700
     1.2 +++ b/include/SDL_config_iphoneos.h	Tue Aug 05 21:03:02 2014 -0700
     1.3 @@ -113,7 +113,7 @@
     1.4  #define SDL_AUDIO_DRIVER_DUMMY  1
     1.5  
     1.6  /* Enable the stub haptic driver (src/haptic/dummy/\*.c) */
     1.7 -#define SDL_HAPTIC_DISABLED 1
     1.8 +#define SDL_HAPTIC_DUMMY 1
     1.9  
    1.10  /* Enable Unix style SO loading */
    1.11  /* Technically this works, but it violates the iPhone developer agreement */