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.
This commit is contained in:
parent
6347feb575
commit
7cfdaaa501
1 changed files with 2 additions and 0 deletions
|
|
@ -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]));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue