changeset 2549:491e43f427ee gsoc2008_force_feedback

Put haptic defines in SDL_configs, patch by Alam.
author Edgar Simo <bobbens@gmail.com>
date Mon, 28 Jul 2008 10:26:21 +0000
parents 8763183f03a8
children b5b8a7f4a965
files 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
diffstat 5 files changed, 8 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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 */