mirror of
https://github.com/encounter/SDL.git
synced 2025-12-16 00:17:18 +00:00
joystick: Convert HasLED() into a generic GetCapabilities() function
This commit is contained in:
committed by
Sam Lantinga
parent
1ba695dc94
commit
1ccfbf963e
@@ -271,9 +271,9 @@ extern "C"
|
||||
return SDL_FALSE;
|
||||
}
|
||||
|
||||
static SDL_bool HAIKU_JoystickHasLED(SDL_Joystick *joystick)
|
||||
static Uint32 HAIKU_JoystickGetCapabilities(SDL_Joystick *joystick)
|
||||
{
|
||||
return SDL_FALSE;
|
||||
return 0;
|
||||
}
|
||||
|
||||
static int HAIKU_JoystickSetLED(SDL_Joystick *joystick, Uint8 red, Uint8 green, Uint8 blue)
|
||||
@@ -305,7 +305,7 @@ extern "C"
|
||||
HAIKU_JoystickOpen,
|
||||
HAIKU_JoystickRumble,
|
||||
HAIKU_JoystickRumbleTriggers,
|
||||
HAIKU_JoystickHasLED,
|
||||
HAIKU_JoystickGetCapabilities,
|
||||
HAIKU_JoystickSetLED,
|
||||
HAIKU_JoystickSendEffect,
|
||||
HAIKU_JoystickSetSensorsEnabled,
|
||||
|
||||
Reference in New Issue
Block a user