# HG changeset patch # User Edgar Simo # Date 1217240781 0 # Node ID 491e43f427eeaf4595d4cd9348ff268fe318ef3f # Parent 8763183f03a85bc0d8d3713b7a18d7fc656687f8 Put haptic defines in SDL_configs, patch by Alam. diff -r 8763183f03a8 -r 491e43f427ee include/SDL_config_dreamcast.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 diff -r 8763183f03a8 -r 491e43f427ee include/SDL_config_macosx.h --- 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__ diff -r 8763183f03a8 -r 491e43f427ee include/SDL_config_minimal.h --- 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 diff -r 8763183f03a8 -r 491e43f427ee include/SDL_config_os2.h --- 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 diff -r 8763183f03a8 -r 491e43f427ee include/SDL_config_win32.h --- 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 */