فهرست منبع

Haptics aren't available on iOS, but use the dummy implementation instead of failing init if it's requested.

Sam Lantinga 11 سال پیش
والد
کامیت
2eb7563e35
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      include/SDL_config_iphoneos.h

+ 1 - 1
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 */