Function sdl2_sys::SDL_JoystickHasLED
source · pub unsafe extern "C" fn SDL_JoystickHasLED(
joystick: *mut SDL_Joystick,
) -> SDL_bool
Expand description
Query whether a joystick has an LED.
An example of a joystick LED is the light on the back of a PlayStation 4’s DualShock 4 controller.
\param joystick The joystick to query \return SDL_TRUE if the joystick has a modifiable LED, SDL_FALSE otherwise.
\since This function is available since SDL 2.0.14.