MCPcopy Create free account
hub / github.com/CalcProgrammer1/OpenRGB / SetMode

Method SetMode

Controllers/LogitechController/LogitechG810Controller.cpp:56–69  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

54}
55
56void LogitechG810Controller::SetMode
57 (
58 unsigned char mode,
59 unsigned short speed,
60 unsigned char red,
61 unsigned char green,
62 unsigned char blue
63 )
64{
65 SendMode(LOGITECH_G810_ZONE_MODE_KEYBOARD, mode, speed, red, green, blue);
66 SendMode(LOGITECH_G810_ZONE_MODE_LOGO, mode, speed, red, green, blue);
67
68 SendCommit();
69}
70
71/*-------------------------------------------------------------------------------------------------*\
72| Private packet sending functions. |

Callers 7

DeviceUpdateModeMethod · 0.45
DeviceUpdateModeMethod · 0.45
DeviceUpdateModeMethod · 0.45
DeviceUpdateModeMethod · 0.45
DeviceUpdateModeMethod · 0.45
DeviceUpdateModeMethod · 0.45
DeviceUpdateModeMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected