mirror of
https://github.com/CalcProgrammer1/OpenRGB.git
synced 2026-10-08 02:01:40 -04:00
Update direct packet for HyperX keyboards based on Alloy FPS captures
This commit is contained in:
1 parent
9b6e24947d
commit
816eabb1d1
1 file changed
+2
@@ -431,6 +431,7 @@ void HyperXKeyboardController::SendDirect
|
||||
buf[0x00] = 0x07;
|
||||
buf[0x01] = HYPERX_PACKET_ID_DIRECT;
|
||||
buf[0x02] = color_channel;
|
||||
buf[0x03] = 0xA0;
|
||||
|
||||
/*-----------------------------------------------------*\
|
||||
| Fill in color data |
|
||||
@@ -464,6 +465,7 @@ void HyperXKeyboardController::SendDirectExtended
|
||||
buf[0x00] = 0x07;
|
||||
buf[0x01] = HYPERX_PACKET_ID_DIRECT;
|
||||
buf[0x02] = HYPERX_COLOR_CHANNEL_EXTENDED;
|
||||
buf[0x03] = 0xA0;
|
||||
|
||||
/*-----------------------------------------------------*\
|
||||
| Fill in color data |
|
||||
|
||||
Reference in new issue
Block a user