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 update
  • red The intensity of the red LED
  • green The intensity of the green LED
  • blue The intensity of the blue LED

Return: 0, or -1 if this controller does not have a modifiable LED