Fixed signatures for internal haptics functions

This commit is contained in:
Sam Lantinga
2024-06-05 10:09:02 -07:00
parent f879411627
commit 26fc7a8060
7 changed files with 28 additions and 33 deletions

View File

@@ -138,9 +138,9 @@ int SDL_SYS_HapticMouse(void)
return -1;
}
int SDL_SYS_JoystickIsHaptic(SDL_Joystick *joystick)
SDL_bool SDL_SYS_JoystickIsHaptic(SDL_Joystick *joystick)
{
return 0;
return SDL_FALSE;
}
int SDL_SYS_HapticOpenFromJoystick(SDL_Haptic *haptic, SDL_Joystick *joystick)
@@ -148,9 +148,9 @@ int SDL_SYS_HapticOpenFromJoystick(SDL_Haptic *haptic, SDL_Joystick *joystick)
return SDL_Unsupported();
}
int SDL_SYS_JoystickSameHaptic(SDL_Haptic *haptic, SDL_Joystick *joystick)
SDL_bool SDL_SYS_JoystickSameHaptic(SDL_Haptic *haptic, SDL_Joystick *joystick)
{
return 0;
return SDL_FALSE;
}
void SDL_SYS_HapticClose(SDL_Haptic *haptic)