Remove the SolidColor plugin

This commit is contained in:
Gergely Polonkai 2022-06-01 10:58:49 +02:00
parent e7202a1420
commit a429dc1f5e
No known key found for this signature in database
GPG Key ID: 2D2885533B869ED4

View File

@ -15,7 +15,6 @@
#include "Kaleidoscope-Macros.h" #include "Kaleidoscope-Macros.h"
#include "Kaleidoscope-LEDControl.h" #include "Kaleidoscope-LEDControl.h"
#include "Kaleidoscope-LEDEffect-BootGreeting.h" #include "Kaleidoscope-LEDEffect-BootGreeting.h"
#include "Kaleidoscope-LEDEffect-SolidColor.h"
#include "Kaleidoscope-LEDEffect-Breathe.h" #include "Kaleidoscope-LEDEffect-Breathe.h"
#include "Kaleidoscope-LEDEffect-Rainbow.h" #include "Kaleidoscope-LEDEffect-Rainbow.h"
#include "Kaleidoscope-LED-Stalker.h" #include "Kaleidoscope-LED-Stalker.h"
@ -131,14 +130,6 @@ const macro_t *macroAction(uint8_t macro_id, KeyEvent &event) {
} }
static kaleidoscope::plugin::LEDSolidColor solidRed(160, 0, 0);
static kaleidoscope::plugin::LEDSolidColor solidOrange(140, 70, 0);
static kaleidoscope::plugin::LEDSolidColor solidYellow(130, 100, 0);
static kaleidoscope::plugin::LEDSolidColor solidGreen(0, 160, 0);
static kaleidoscope::plugin::LEDSolidColor solidBlue(0, 70, 130);
static kaleidoscope::plugin::LEDSolidColor solidIndigo(0, 0, 170);
static kaleidoscope::plugin::LEDSolidColor solidViolet(130, 0, 120);
void toggleLedsOnSuspendResume(kaleidoscope::plugin::HostPowerManagement::Event event) { void toggleLedsOnSuspendResume(kaleidoscope::plugin::HostPowerManagement::Event event) {
switch (event) { switch (event) {
case kaleidoscope::plugin::HostPowerManagement::Suspend: case kaleidoscope::plugin::HostPowerManagement::Suspend:
@ -188,13 +179,6 @@ KALEIDOSCOPE_INIT_PLUGINS(
LEDOff, LEDOff,
LEDRainbowEffect, LEDRainbowEffect,
LEDRainbowWaveEffect, LEDRainbowWaveEffect,
solidRed,
solidOrange,
solidYellow,
solidGreen,
solidBlue,
solidIndigo,
solidViolet,
LEDBreatheEffect, LEDBreatheEffect,
StalkerEffect, StalkerEffect,
LEDPaletteTheme, LEDPaletteTheme,