Update direct packet for HyperX keyboards based on Alloy FPS captures
This commit is contained in:
parent
9b6e24947d
commit
816eabb1d1
1 changed files with 2 additions and 0 deletions
|
|
@ -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 |
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue