X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Fjoystick.h;h=00fb4830de1fdb0c74e900c8bcb3341d89a734b1;hb=3efd2f9aa751bbadb75b584f64568115a6ede379;hp=0bbb22bff4460a9136e7c37fd548259f9f87ba85;hpb=d5b2ac0f473b0868014826e2c6488c72c79008f1;p=rocksndiamonds.git diff --git a/src/joystick.h b/src/joystick.h index 0bbb22bf..00fb4830 100644 --- a/src/joystick.h +++ b/src/joystick.h @@ -1,14 +1,14 @@ /*********************************************************** -* Rocks'n'Diamonds -- McDuffin Strikes Back! * +* Rocks'n'Diamonds -- McDuffin Strikes Back! * *----------------------------------------------------------* -* (c) 1995-98 Artsoft Entertainment * -* Holger Schemel * -* Oststrasse 11a * -* 33604 Bielefeld * -* phone: ++49 +521 290471 * -* email: aeglos@valinor.owl.de * +* (c) 1995-2001 Artsoft Entertainment * +* Holger Schemel * +* Detmolder Strasse 189 * +* 33604 Bielefeld * +* Germany * +* e-mail: info@artsoft.org * *----------------------------------------------------------* -* joystick.h * +* joystick.h * ***********************************************************/ #ifndef 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_JOYSTICK +#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 */