Remove SetCustomMode from all controllers beginning with the letter D

This commit is contained in:
Adam Honse 2022-08-10 16:04:23 -05:00
parent f8916f2bcb
commit 100e6ddb2a
8 changed files with 7 additions and 35 deletions

View file

@ -227,11 +227,6 @@ void RGBController_DarkProjectKeyboard::UpdateSingleLED(int led)
controller->SetLedsDirect(colour);
}
void RGBController_DarkProjectKeyboard::SetCustomMode()
{
active_mode = 0;
}
void RGBController_DarkProjectKeyboard::DeviceUpdateMode()
{
/*---------------------------------------------------------*\

View file

@ -19,16 +19,15 @@ public:
RGBController_DarkProjectKeyboard(DarkProjectKeyboardController* controller_ptr);
~RGBController_DarkProjectKeyboard();
void SetupZones();
void ResizeZone(int zone, int new_size);
void SetupZones();
void ResizeZone(int zone, int new_size);
void DeviceUpdateLEDs();
void UpdateZoneLEDs(int zone);
void UpdateSingleLED(int led);
void DeviceUpdateLEDs();
void UpdateZoneLEDs(int zone);
void UpdateSingleLED(int led);
void SetCustomMode();
void DeviceUpdateMode();
void DeviceUpdateMode();
private:
DarkProjectKeyboardController* controller;
DarkProjectKeyboardController* controller;
};

View file

@ -348,11 +348,6 @@ void RGBController_DasKeyboard::UpdateSingleLED(int led)
}
}
void RGBController_DasKeyboard::SetCustomMode()
{
active_mode = 0;
}
void RGBController_DasKeyboard::DeviceUpdateMode()
{
}

View file

@ -28,17 +28,12 @@ public:
~RGBController_DasKeyboard();
void SetupZones();
void ResizeZone(int zone, int new_size);
void DeviceUpdateLEDs();
void UpdateZoneLEDs(int zone);
void UpdateSingleLED(int led);
void SetCustomMode();
void DeviceUpdateMode();
private:

View file

@ -317,11 +317,6 @@ void RGBController_DuckyKeyboard::UpdateSingleLED(int /*led*/)
DeviceUpdateLEDs();
}
void RGBController_DuckyKeyboard::SetCustomMode()
{
}
void RGBController_DuckyKeyboard::DeviceUpdateMode()
{

View file

@ -25,7 +25,6 @@ public:
void UpdateZoneLEDs(int zone);
void UpdateSingleLED(int led);
void SetCustomMode();
void DeviceUpdateMode();
private:

View file

@ -250,11 +250,6 @@ void RGBController_DygmaRaise::UpdateSingleLED(int /*led*/)
DeviceUpdateLEDs();
}
void RGBController_DygmaRaise::SetCustomMode()
{
active_mode = 0;
}
void RGBController_DygmaRaise::DeviceUpdateMode()
{

View file

@ -23,7 +23,6 @@ public:
void UpdateZoneLEDs(int zone);
void UpdateSingleLED(int led);
void SetCustomMode();
void DeviceUpdateMode();
private: