MCPcopy Create free account
hub / github.com/RavEngine/RavEngine / SetSlotLED

Function SetSlotLED

deps/SDL2/src/joystick/hidapi/SDL_hidapi_switch.c:521–525  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

519}
520
521static SDL_bool SetSlotLED(SDL_DriverSwitch_Context *ctx, Uint8 slot)
522{
523 Uint8 led_data = (1 << slot);
524 return WriteSubcommand(ctx, k_eSwitchSubcommandIDs_SetPlayerLights, &led_data, sizeof(led_data), NULL);
525}
526
527static SDL_bool LoadStickCalibration(SDL_DriverSwitch_Context *ctx)
528{

Callers 1

Calls 1

WriteSubcommandFunction · 0.85

Tested by

no test coverage detected