Query whether a joystick has an LED.
SDL_bool SDL_JoystickHasLED(SDL_Joystick *joystick);
joystick | The joystick to query |
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.