From 816eabb1d1aa0dbcc6a0fb4cc4e0994832a4d508 Mon Sep 17 00:00:00 2001 From: Adam Honse Date: Sun, 12 Jul 2020 16:53:20 -0500 Subject: [PATCH] Update direct packet for HyperX keyboards based on Alloy FPS captures --- .../HyperXKeyboardController/HyperXKeyboardController.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Controllers/HyperXKeyboardController/HyperXKeyboardController.cpp b/Controllers/HyperXKeyboardController/HyperXKeyboardController.cpp index df28be4a..948c725f 100644 --- a/Controllers/HyperXKeyboardController/HyperXKeyboardController.cpp +++ b/Controllers/HyperXKeyboardController/HyperXKeyboardController.cpp @@ -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 |