Function SDL_JoystickHasLED
pub unsafe extern "C" fn SDL_JoystickHasLED(
joystick: *mut _SDL_Joystick,
) -> SDL_bool
Available on crate feature
dep_sdl2
only.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.