pub unsafe extern "C" fn SDL_JoystickSetLED(
    joystick: *mut SDL_Joystick,
    red: u8,
    green: u8,
    blue: u8
) -> c_int
Expand description

Update a joystick’s LED color.

  • joystick The joystick to update
  • red The intensity of the red LED
  • green The intensity of the green LED
  • blue The intensity of the blue LED

Returns: 0, or -1 if this joystick does not have a modifiable LED.