Query whether a joystick has an LED.
Defined in SDL_joystick.h
SDL_bool SDL_JoystickHasLED(SDL_Joystick *joystick);
SDL_Joystick * | joystick | The joystick to query. |
(SDL_bool) Return SDL_TRUE if the joystick has a modifiable LED, SDL_FALSE otherwise.
An example of a joystick LED is the light on the back of a PlayStation 4's DualShock 4 controller.
This function is available since SDL 2.0.14.