added optional button to restart game (door, panel and touch variants)
[rocksndiamonds.git] / src / libgame / joystick.h
index 8cee40de8b411510cdad0630fac88f9351969f10..6da683f38c9a614c4365e3dcd879ce1fbd3840d2 100644 (file)
@@ -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
 
 #define JOY_BUTTON_NEW_PRESSED 2
 #define JOY_BUTTON_NEW_RELEASED        3
 
-char *getJoyNameFromJoySymbol(int);
-int getJoySymbolFromJoyName(char *);
 int getJoystickNrFromDeviceName(char *);
 char *getDeviceNameFromJoystickNr(int);
 char *getFormattedJoystickName(const char *);
 
-void CheckJoystickData(void);
 int Joystick(int);
 int JoystickExt(int, boolean);
 int JoystickButton(int);
 int AnyJoystick(void);
 int AnyJoystickButton(void);
 
-void DeactivateJoystick(void);
-void ActivateJoystick(void);
-
-#endif /* JOYSTICK_H */
+#endif // JOYSTICK_H