mirror of
https://github.com/CalcProgrammer1/OpenRGB.git
synced 2026-04-04 06:11:07 -04:00
Razer Chroma ARGB direct mode LED restoration
This commit is contained in:
@@ -277,6 +277,13 @@ void RGBController_RazerAddressable::DeviceUpdateMode()
|
||||
{
|
||||
switch(modes[active_mode].value)
|
||||
{
|
||||
case RAZER_ADDRESSABLE_MODE_DIRECT:
|
||||
/*---------------------------------------------------------*\
|
||||
| Controller does not preserve the LEDs for direct mode. |
|
||||
| We have to restore them. |
|
||||
\*---------------------------------------------------------*/
|
||||
DeviceUpdateLEDs();
|
||||
break;
|
||||
case RAZER_ADDRESSABLE_MODE_OFF:
|
||||
controller->SetModeOff();
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user