X-Git-Url: https://git.artsoft.org/?p=rocksndiamonds.git;a=blobdiff_plain;f=src%2Flibgame%2Fjoystick.h;h=e43844edd8b8e63b8d9a10752205162e463b8cd5;hp=48202d2efdea8a33bd5ec95e43d717451f888fa8;hb=b641818c787e48bbf03ce2a0cd5b542c4c21e523;hpb=e02c111162d5d8a13715de71d93494120380ec9b diff --git a/src/libgame/joystick.h b/src/libgame/joystick.h index 48202d2e..e43844ed 100644 --- a/src/libgame/joystick.h +++ b/src/libgame/joystick.h @@ -4,7 +4,7 @@ // (c) 1995-2014 by Artsoft Entertainment // Holger Schemel // info@artsoft.org -// http://www.artsoft.org/ +// https://www.artsoft.org/ // ---------------------------------------------------------------------------- // joystick.h // ============================================================================ @@ -35,8 +35,8 @@ #define DEV_JOYSTICK_3 "/dev/js3" #endif -/* 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 #define JOYSTICK_MAX_AXIS_POS 32767 @@ -80,7 +80,7 @@ int JoystickButton(int); int AnyJoystick(void); int AnyJoystickButton(void); -void DeactivateJoystick(); -void ActivateJoystick(); +void DeactivateJoystick(void); +void ActivateJoystick(void); -#endif /* JOYSTICK_H */ +#endif // JOYSTICK_H