projects
/
rocksndiamonds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
rnd-20001125-3-src
[rocksndiamonds.git]
/
src
/
joystick.h
diff --git
a/src/joystick.h
b/src/joystick.h
index 068543595f6802233a75e78e77323dd7390e8c8e..3632b7a706f6a82a9b79897ddcb78fb0795045d6 100644
(file)
--- a/
src/joystick.h
+++ b/
src/joystick.h
@@
-36,7
+36,7
@@
/* get these values from the program 'js' from the joystick package, */
/* set JOYSTICK_PERCENT to a threshold appropriate for your joystick */
/* get these values from the program 'js' from the joystick package, */
/* set JOYSTICK_PERCENT to a threshold appropriate for your joystick */
-#ifdef
USE_SDL_LIBRARY
+#ifdef
TARGET_SDL
#define JOYSTICK_XLEFT -32767
#define JOYSTICK_XMIDDLE 0
#define JOYSTICK_XRIGHT 32767
#define JOYSTICK_XLEFT -32767
#define JOYSTICK_XMIDDLE 0
#define JOYSTICK_XRIGHT 32767
@@
-74,7
+74,7
@@
#endif
#endif
-#ifdef USE_SDL_
LIBRARY
+#ifdef USE_SDL_
JOYSTICK
SDL_Joystick *Get_SDL_Joystick(int);
boolean Open_SDL_Joystick(int);
void Close_SDL_Joystick(int);
SDL_Joystick *Get_SDL_Joystick(int);
boolean Open_SDL_Joystick(int);
void Close_SDL_Joystick(int);