Skip to content
This repository has been archived by the owner on Feb 11, 2021. It is now read-only.

Commit

Permalink
Put haptic defines in SDL_configs, patch by Alam.
Browse files Browse the repository at this point in the history
  • Loading branch information
bobbens committed Jul 28, 2008
1 parent 2068609 commit 3c0f6b5
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 0 deletions.
1 change: 1 addition & 0 deletions include/SDL_config_dreamcast.h
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@ typedef unsigned long uintptr_t;

/* 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
Expand Down
1 change: 1 addition & 0 deletions include/SDL_config_macosx.h
Original file line number Diff line number Diff line change
Expand Up @@ -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__
Expand Down
3 changes: 3 additions & 0 deletions include/SDL_config_minimal.h
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,9 @@ typedef unsigned long uintptr_t;
/* 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

Expand Down
1 change: 1 addition & 0 deletions include/SDL_config_os2.h
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,7 @@ typedef unsigned long long uint64_t;

/* 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
Expand Down
2 changes: 2 additions & 0 deletions include/SDL_config_win32.h
Original file line number Diff line number Diff line change
Expand Up @@ -139,8 +139,10 @@ typedef unsigned int uintptr_t;
/* 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 */
Expand Down

0 comments on commit 3c0f6b5

Please sign in to comment.