From 7cfdaaa501ae32ce8d557e418c7e2cf9db96d5ae Mon Sep 17 00:00:00 2001 From: K900 Date: Tue, 17 Nov 2020 10:27:17 +0300 Subject: [PATCH] CrucialController: force mode to static before setting direct colors This fixes some misbehaving Ballistix sticks that require a mode reset before they actually apply colors as intended. --- Controllers/CrucialController/CrucialController.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Controllers/CrucialController/CrucialController.cpp b/Controllers/CrucialController/CrucialController.cpp index 09e67dcb..6eaaa017 100644 --- a/Controllers/CrucialController/CrucialController.cpp +++ b/Controllers/CrucialController/CrucialController.cpp @@ -80,6 +80,8 @@ void CrucialController::SendEffectMode(unsigned char mode, unsigned char speed) void CrucialController::SendDirectColors(RGBColor* color_buf) { + SetMode(CRUCIAL_MODE_STATIC); + //Red Channels CrucialRegisterWrite(0x8300, RGBGetRValue(color_buf[0])); CrucialRegisterWrite(0x8301, RGBGetRValue(color_buf[1]));