Update a game controller's LED color.
Defined in SDL_gamecontroller.h
int SDL_GameControllerSetLED(SDL_GameController *gamecontroller, Uint8 red, Uint8 green, Uint8 blue);
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 |
Returns 0, or -1 if this controller does not have a modifiable LED
This function is available since SDL 2.0.14.