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 9044 5716114f158e
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
--- a/include/SDL_config_iphoneos.h	Thu Jul 31 12:46:23 2014 -0700
+++ b/include/SDL_config_iphoneos.h	Tue Aug 05 21:03:02 2014 -0700
@@ -113,7 +113,7 @@
 #define SDL_AUDIO_DRIVER_DUMMY  1
 
 /* Enable the stub haptic driver (src/haptic/dummy/\*.c) */
-#define SDL_HAPTIC_DISABLED 1
+#define SDL_HAPTIC_DUMMY 1
 
 /* Enable Unix style SO loading */
 /* Technically this works, but it violates the iPhone developer agreement */