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

Method Save

Controllers/CougarController/CougarKeyboardController.cpp:215–220  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

213}
214
215void CougarKeyboardController::Save(uint8_t flag)
216{
217 uint8_t buffer[COUGARKEYBOARDCONTROLLER_WRITE_PACKET_SIZE] = { 0x00, 0x12, flag, 0x00, 0x00 };
218
219 hid_write(dev, buffer, COUGARKEYBOARDCONTROLLER_WRITE_PACKET_SIZE);
220}
221
222void CougarKeyboardController::SendProfile(uint8_t profile, uint8_t light)
223{

Callers 1

DeviceSaveModeMethod · 0.45

Calls 1

hid_writeFunction · 0.85

Tested by

no test coverage detected