Remove SetCustomMode from some controllers (the ones in my PC)
This commit is contained in:
parent
afb975e5fc
commit
58b1a29076
14 changed files with 0 additions and 42 deletions
|
|
@ -315,11 +315,6 @@ void RGBController_CorsairLightingNode::UpdateSingleLED(int led)
|
|||
controller->SetChannelLEDs(channel, zones[channel].colors, zones[channel].leds_count);
|
||||
}
|
||||
|
||||
void RGBController_CorsairLightingNode::SetCustomMode()
|
||||
{
|
||||
active_mode = 0;
|
||||
}
|
||||
|
||||
void RGBController_CorsairLightingNode::DeviceUpdateMode()
|
||||
{
|
||||
if(modes[active_mode].value == 0xFFFF)
|
||||
|
|
|
|||
|
|
@ -25,7 +25,6 @@ public:
|
|||
void UpdateZoneLEDs(int zone);
|
||||
void UpdateSingleLED(int led);
|
||||
|
||||
void SetCustomMode();
|
||||
void DeviceUpdateMode();
|
||||
|
||||
private:
|
||||
|
|
|
|||
|
|
@ -398,11 +398,6 @@ void RGBController_ENESMBus::ResizeZone(int /*zone*/, int /*new_size*/)
|
|||
\*---------------------------------------------------------*/
|
||||
}
|
||||
|
||||
void RGBController_ENESMBus::SetCustomMode()
|
||||
{
|
||||
active_mode = 0;
|
||||
}
|
||||
|
||||
void RGBController_ENESMBus::DeviceUpdateMode()
|
||||
{
|
||||
if (modes[active_mode].value == 0xFFFF)
|
||||
|
|
|
|||
|
|
@ -25,7 +25,6 @@ public:
|
|||
void UpdateZoneLEDs(int zone);
|
||||
void UpdateSingleLED(int led);
|
||||
|
||||
void SetCustomMode();
|
||||
void DeviceUpdateMode();
|
||||
void DeviceSaveMode();
|
||||
|
||||
|
|
|
|||
|
|
@ -167,11 +167,6 @@ void RGBController_RGBFusionGPU::UpdateSingleLED(int /*led*/)
|
|||
DeviceUpdateLEDs();
|
||||
}
|
||||
|
||||
void RGBController_RGBFusionGPU::SetCustomMode()
|
||||
{
|
||||
active_mode = 0;
|
||||
}
|
||||
|
||||
void RGBController_RGBFusionGPU::DeviceUpdateMode()
|
||||
{
|
||||
controller->SetMode((unsigned char)modes[(unsigned int)active_mode].value, (unsigned char)modes[(unsigned int)active_mode].speed, (unsigned char)modes[(unsigned int)active_mode].brightness);
|
||||
|
|
|
|||
|
|
@ -26,7 +26,6 @@ public:
|
|||
void UpdateZoneLEDs(int zone);
|
||||
void UpdateSingleLED(int led);
|
||||
|
||||
void SetCustomMode();
|
||||
void DeviceUpdateMode();
|
||||
void DeviceSaveMode();
|
||||
|
||||
|
|
|
|||
|
|
@ -237,11 +237,6 @@ void RGBController_Razer::UpdateSingleLED(int /*led*/)
|
|||
DeviceUpdateLEDs();
|
||||
}
|
||||
|
||||
void RGBController_Razer::SetCustomMode()
|
||||
{
|
||||
active_mode = 0;
|
||||
}
|
||||
|
||||
void RGBController_Razer::DeviceUpdateMode()
|
||||
{
|
||||
switch(modes[active_mode].value)
|
||||
|
|
|
|||
|
|
@ -37,7 +37,6 @@ public:
|
|||
void UpdateZoneLEDs(int zone);
|
||||
void UpdateSingleLED(int led);
|
||||
|
||||
void SetCustomMode();
|
||||
void DeviceUpdateMode();
|
||||
|
||||
private:
|
||||
|
|
|
|||
|
|
@ -263,11 +263,6 @@ void RGBController_RazerAddressable::UpdateSingleLED(int /*led*/)
|
|||
DeviceUpdateLEDs();
|
||||
}
|
||||
|
||||
void RGBController_RazerAddressable::SetCustomMode()
|
||||
{
|
||||
active_mode = 0;
|
||||
}
|
||||
|
||||
void RGBController_RazerAddressable::DeviceUpdateMode()
|
||||
{
|
||||
switch(modes[active_mode].value)
|
||||
|
|
|
|||
|
|
@ -35,7 +35,6 @@ public:
|
|||
void UpdateZoneLEDs(int zone);
|
||||
void UpdateSingleLED(int led);
|
||||
|
||||
void SetCustomMode();
|
||||
void DeviceUpdateMode();
|
||||
|
||||
private:
|
||||
|
|
|
|||
|
|
@ -193,11 +193,6 @@ void RGBController_RazerKraken::UpdateSingleLED(int /*led*/)
|
|||
DeviceUpdateLEDs();
|
||||
}
|
||||
|
||||
void RGBController_RazerKraken::SetCustomMode()
|
||||
{
|
||||
active_mode = 0;
|
||||
}
|
||||
|
||||
void RGBController_RazerKraken::DeviceUpdateMode()
|
||||
{
|
||||
switch(modes[active_mode].value)
|
||||
|
|
|
|||
|
|
@ -34,7 +34,6 @@ public:
|
|||
void UpdateZoneLEDs(int zone);
|
||||
void UpdateSingleLED(int led);
|
||||
|
||||
void SetCustomMode();
|
||||
void DeviceUpdateMode();
|
||||
|
||||
private:
|
||||
|
|
|
|||
|
|
@ -283,11 +283,6 @@ void RGBController_ZalmanZSync::UpdateSingleLED(int led)
|
|||
controller->SetChannelLEDs(channel, zones[channel].colors, zones[channel].leds_count);
|
||||
}
|
||||
|
||||
void RGBController_ZalmanZSync::SetCustomMode()
|
||||
{
|
||||
active_mode = 0;
|
||||
}
|
||||
|
||||
void RGBController_ZalmanZSync::DeviceUpdateMode()
|
||||
{
|
||||
if(modes[active_mode].value == 0xFFFF)
|
||||
|
|
|
|||
|
|
@ -25,7 +25,6 @@ public:
|
|||
void UpdateZoneLEDs(int zone);
|
||||
void UpdateSingleLED(int led);
|
||||
|
||||
void SetCustomMode();
|
||||
void DeviceUpdateMode();
|
||||
|
||||
private:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue