From 2eb7563e35fb7ae9d4a0466d3c437e1ba3fe5126 Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Tue, 5 Aug 2014 21:03:02 -0700 Subject: [PATCH] Haptics aren't available on iOS, but use the dummy implementation instead of failing init if it's requested. --- include/SDL_config_iphoneos.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/SDL_config_iphoneos.h b/include/SDL_config_iphoneos.h index 11fd722ff..4e3eb2c92 100644 --- a/include/SDL_config_iphoneos.h +++ b/include/SDL_config_iphoneos.h @@ -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 */