/* ========================================================================= */
-/* platform dependant joystick functions */
+/* platform dependent joystick functions */
/* ========================================================================= */
#if defined(PLATFORM_UNIX) && !defined(TARGET_SDL)
/* ========================================================================= */
-/* platform independant joystick functions */
+/* platform independent joystick functions */
/* ========================================================================= */
#define TRANSLATE_JOYSYMBOL_TO_JOYNAME 0
int AnyJoystickButton()
{
int i;
- int result;
+ int result = JOY_BUTTON_NOT_PRESSED;
for (i=0; i<MAX_PLAYERS; i++)
{
return result;
}
-void DeactivateJoystickForCalibration()
+void DeactivateJoystick()
{
/* Temporarily deactivate joystick. This is needed for calibration
screens, where the player has to select a joystick device that
joystick.status &= ~JOYSTICK_ACTIVE;
}
-void ActivateJoystickIfAvailable()
+void ActivateJoystick()
{
/* reactivate temporarily deactivated joystick */