Function sdl2_sys::SDL_GameControllerSetLED
source · pub unsafe extern "C" fn SDL_GameControllerSetLED(
gamecontroller: *mut SDL_GameController,
red: Uint8,
green: Uint8,
blue: Uint8,
) -> c_int
Expand description
Update a game controller’s LED color.
\param gamecontroller The controller to update \param red The intensity of the red LED \param green The intensity of the green LED \param blue The intensity of the blue LED \returns 0, or -1 if this controller does not have a modifiable LED
\since This function is available since SDL 2.0.14.