Put haptic defines in SDL_configs, patch by Alam. gsoc2008_force_feedback
authorEdgar Simo <bobbens@gmail.com>
Mon, 28 Jul 2008 10:26:21 +0000
branchgsoc2008_force_feedback
changeset 2549 491e43f427ee
parent 2548 8763183f03a8
child 2550 b5b8a7f4a965
Put haptic defines in SDL_configs, patch by Alam.
include/SDL_config_dreamcast.h
include/SDL_config_macosx.h
include/SDL_config_minimal.h
include/SDL_config_os2.h
include/SDL_config_win32.h
--- a/include/SDL_config_dreamcast.h	Mon Jul 28 10:00:17 2008 +0000
+++ b/include/SDL_config_dreamcast.h	Mon Jul 28 10:26:21 2008 +0000
@@ -89,6 +89,7 @@
 
 /* Enable various input drivers */
 #define SDL_JOYSTICK_DC	1
+#define SDL_HAPTIC_DUMMY	1
 
 /* Enable various shared object loading systems */
 #define SDL_LOADSO_DUMMY	1
--- a/include/SDL_config_macosx.h	Mon Jul 28 10:00:17 2008 +0000
+++ b/include/SDL_config_macosx.h	Mon Jul 28 10:26:21 2008 +0000
@@ -99,6 +99,7 @@
 
 /* Enable various input drivers */
 #define SDL_JOYSTICK_IOKIT	1
+#define SDL_HAPTIC_IOKIT	1
 
 /* Enable various shared object loading systems */
 #ifdef __ppc__
--- a/include/SDL_config_minimal.h	Mon Jul 28 10:00:17 2008 +0000
+++ b/include/SDL_config_minimal.h	Mon Jul 28 10:26:21 2008 +0000
@@ -47,6 +47,9 @@
 /* Enable the stub joystick driver (src/joystick/dummy/\*.c) */
 #define SDL_JOYSTICK_DISABLED	1
 
+/* Enable the stub haptic driver (src/haptic/dummy/\*.c) */s
+#define SDL_HAPTIC_DUMMY	1
+
 /* Enable the stub shared object loader (src/loadso/dummy/\*.c) */
 #define SDL_LOADSO_DISABLED	1
 
--- a/include/SDL_config_os2.h	Mon Jul 28 10:00:17 2008 +0000
+++ b/include/SDL_config_os2.h	Mon Jul 28 10:26:21 2008 +0000
@@ -118,6 +118,7 @@
 
 /* Enable various input drivers */
 #define SDL_JOYSTICK_OS2	1
+#define SDL_HAPTIC_DUMMY	1
 
 /* Enable various shared object loading systems */
 #define SDL_LOADSO_OS2	1
--- a/include/SDL_config_win32.h	Mon Jul 28 10:00:17 2008 +0000
+++ b/include/SDL_config_win32.h	Mon Jul 28 10:26:21 2008 +0000
@@ -139,8 +139,10 @@
 /* Enable various input drivers */
 #ifdef _WIN32_WCE
 #define SDL_JOYSTICK_DISABLED   1
+#define SDL_HAPTIC_DUMMY	1
 #else
 #define SDL_JOYSTICK_WINMM	1
+#define SDL_HAPTIC_DUMMY	1
 #endif
 
 /* Enable various shared object loading systems */