Skip to content

Commit

Permalink
Strip "LED" prefix from led mode names
Browse files Browse the repository at this point in the history
  • Loading branch information
EvyBongers committed Feb 25, 2024
1 parent e97fed2 commit 430819d
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ class LEDActiveLayerColorEffect : public Plugin,
public LEDModeInterface,
public AccessTransientLEDMode {
public:
LEDActiveLayerColorEffect() { ledModeName = "LEDActiveLayerColor"; }
LEDActiveLayerColorEffect() { ledModeName = "ActiveLayerColor"; }
explicit LEDActiveLayerColorEffect(char *customName) { ledModeName = customName; }

EventHandlerResult onLayerChange();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ class LEDActiveLayerKeysEffect : public Plugin,
public LEDModeInterface,
public AccessTransientLEDMode {
public:
LEDActiveLayerKeysEffect() { ledModeName = "LEDActiveLayerKeys"; }
LEDActiveLayerKeysEffect() { ledModeName = "ActiveLayerKeys"; }
explicit LEDActiveLayerKeysEffect(char *customName) { ledModeName = customName; }

EventHandlerResult onLayerChange();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ namespace plugin {
class LEDBreatheEffect : public Plugin,
public LEDModeInterface {
public:
LEDBreatheEffect() { ledModeName = "LEDBreathe"; }
LEDBreatheEffect() { ledModeName = "Breathe"; }
explicit LEDBreatheEffect(char *customName) { ledModeName = customName; }

uint8_t hue = 170;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ namespace plugin {
class LEDChaseEffect : public Plugin,
public LEDModeInterface {
public:
LEDChaseEffect() { ledModeName = "LEDChase"; }
LEDChaseEffect() { ledModeName = "Chase"; }
explicit LEDChaseEffect(char *customName) { ledModeName = customName; }

uint8_t update_delay() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ namespace plugin {
class LEDRainbowEffect : public Plugin,
public LEDModeInterface {
public:
LEDRainbowEffect() { ledModeName = "LEDRainbow"; }
LEDRainbowEffect() { ledModeName = "Rainbow"; }
explicit LEDRainbowEffect(char *customName) { ledModeName = customName; }

void brightness(uint8_t);
Expand Down Expand Up @@ -71,7 +71,7 @@ class LEDRainbowEffect : public Plugin,

class LEDRainbowWaveEffect : public Plugin, public LEDModeInterface {
public:
LEDRainbowWaveEffect() { ledModeName = "LEDRainbowWave"; }
LEDRainbowWaveEffect() { ledModeName = "RainbowWave"; }
explicit LEDRainbowWaveEffect(char *customName) { ledModeName = customName; }

void brightness(uint8_t);
Expand Down
2 changes: 1 addition & 1 deletion src/kaleidoscope/plugin/LEDControl/LED-Off.h
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ namespace plugin {
//
class LEDOff : public LEDMode {
public:
LEDOff() { ledModeName = "LEDOff"; }
LEDOff() { ledModeName = "Off"; }
explicit LEDOff(char *customName) { ledModeName = customName; }

protected:
Expand Down

0 comments on commit 430819d

Please sign in to comment.