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 2549491e43f427ee
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
     1.1 --- a/include/SDL_config_dreamcast.h	Mon Jul 28 10:00:17 2008 +0000
     1.2 +++ b/include/SDL_config_dreamcast.h	Mon Jul 28 10:26:21 2008 +0000
     1.3 @@ -89,6 +89,7 @@
     1.4  
     1.5  /* Enable various input drivers */
     1.6  #define SDL_JOYSTICK_DC	1
     1.7 +#define SDL_HAPTIC_DUMMY	1
     1.8  
     1.9  /* Enable various shared object loading systems */
    1.10  #define SDL_LOADSO_DUMMY	1
     2.1 --- a/include/SDL_config_macosx.h	Mon Jul 28 10:00:17 2008 +0000
     2.2 +++ b/include/SDL_config_macosx.h	Mon Jul 28 10:26:21 2008 +0000
     2.3 @@ -99,6 +99,7 @@
     2.4  
     2.5  /* Enable various input drivers */
     2.6  #define SDL_JOYSTICK_IOKIT	1
     2.7 +#define SDL_HAPTIC_IOKIT	1
     2.8  
     2.9  /* Enable various shared object loading systems */
    2.10  #ifdef __ppc__
     3.1 --- a/include/SDL_config_minimal.h	Mon Jul 28 10:00:17 2008 +0000
     3.2 +++ b/include/SDL_config_minimal.h	Mon Jul 28 10:26:21 2008 +0000
     3.3 @@ -47,6 +47,9 @@
     3.4  /* Enable the stub joystick driver (src/joystick/dummy/\*.c) */
     3.5  #define SDL_JOYSTICK_DISABLED	1
     3.6  
     3.7 +/* Enable the stub haptic driver (src/haptic/dummy/\*.c) */s
     3.8 +#define SDL_HAPTIC_DUMMY	1
     3.9 +
    3.10  /* Enable the stub shared object loader (src/loadso/dummy/\*.c) */
    3.11  #define SDL_LOADSO_DISABLED	1
    3.12  
     4.1 --- a/include/SDL_config_os2.h	Mon Jul 28 10:00:17 2008 +0000
     4.2 +++ b/include/SDL_config_os2.h	Mon Jul 28 10:26:21 2008 +0000
     4.3 @@ -118,6 +118,7 @@
     4.4  
     4.5  /* Enable various input drivers */
     4.6  #define SDL_JOYSTICK_OS2	1
     4.7 +#define SDL_HAPTIC_DUMMY	1
     4.8  
     4.9  /* Enable various shared object loading systems */
    4.10  #define SDL_LOADSO_OS2	1
     5.1 --- a/include/SDL_config_win32.h	Mon Jul 28 10:00:17 2008 +0000
     5.2 +++ b/include/SDL_config_win32.h	Mon Jul 28 10:26:21 2008 +0000
     5.3 @@ -139,8 +139,10 @@
     5.4  /* Enable various input drivers */
     5.5  #ifdef _WIN32_WCE
     5.6  #define SDL_JOYSTICK_DISABLED   1
     5.7 +#define SDL_HAPTIC_DUMMY	1
     5.8  #else
     5.9  #define SDL_JOYSTICK_WINMM	1
    5.10 +#define SDL_HAPTIC_DUMMY	1
    5.11  #endif
    5.12  
    5.13  /* Enable various shared object loading systems */