Fixed signatures for internal haptics functions

This commit is contained in:
Sam Lantinga committed 2024-06-05 10:09:02 -07:00
1 parent f879411627
commit 26fc7a8060
7 files changed
+28 -33

No files matched your search

+4 -4
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)