Update direct packet for HyperX keyboards based on Alloy FPS captures

This commit is contained in:
Adam Honse 2020-07-12 16:53:20 -05:00
parent 9b6e24947d
commit 816eabb1d1

View file

@ -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 |