X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Fjoystick.h;h=735f75c8f932683afbf3f28ff4c4de3a000d7591;hb=1465ca1ffdf2104d25b9a46ca9bf8a3f175403fd;hp=068543595f6802233a75e78e77323dd7390e8c8e;hpb=f7b1cff56121f72c25e1da08f53958ddab27ce75;p=rocksndiamonds.git diff --git a/src/joystick.h b/src/joystick.h index 06854359..735f75c8 100644 --- 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 */ -#ifdef USE_SDL_LIBRARY +#ifdef TARGET_SDL #define JOYSTICK_XLEFT -32767 #define JOYSTICK_XMIDDLE 0 #define JOYSTICK_XRIGHT 32767 @@ -74,7 +74,7 @@ #endif -#ifdef USE_SDL_LIBRARY +#if defined(TARGET_SDL) SDL_Joystick *Get_SDL_Joystick(int); boolean Open_SDL_Joystick(int); void Close_SDL_Joystick(int); @@ -89,4 +89,4 @@ int JoystickButton(int); int AnyJoystick(void); int AnyJoystickButton(void); -#endif +#endif /* JOYSTICK_H */