Function fermium::gamecontroller::SDL_GameControllerSetLED
source · pub unsafe extern "C" fn SDL_GameControllerSetLED(
gamecontroller: *mut SDL_GameController,
red: u8,
green: u8,
blue: u8
) -> c_int
Expand description
Update a controller’s LED color.
gamecontroller
The controller to updatered
The intensity of the red LEDgreen
The intensity of the green LEDblue
The intensity of the blue LED
Return: 0, or -1 if this controller does not have a modifiable LED