Skip to content

Commit

Permalink
Kaleidoscope: Use LED-ActiveModColor
Browse files Browse the repository at this point in the history
  • Loading branch information
Sukant Hajra committed Feb 6, 2024
1 parent 464cfe3 commit 045b1f9
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions keymaps/model_01/shajra/Model01.ino
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
#include "Kaleidoscope-LEDControl.h"
#include "Kaleidoscope-LEDEffects.h"
#include "Kaleidoscope-LED-ActiveLayerColor.h"
#include "Kaleidoscope-LED-ActiveModColor.h"
#include "Kaleidoscope-LEDEffect-Breathe.h"
#include "Kaleidoscope-LEDEffect-Chase.h"
#include "Kaleidoscope-LEDEffect-DigitalRain.h"
Expand Down Expand Up @@ -334,6 +335,7 @@ KALEIDOSCOPE_INIT_PLUGINS
, WavepoolEffect
, StalkerEffect
, MiamiEffect
, ActiveModColorEffect
, LocalLEDEffect

, HostPowerManagement
Expand Down Expand Up @@ -393,6 +395,8 @@ void setup()
OneShot.disableStickabilityForModifiers();

LEDActiveLayerColorEffect.setColormap(layerColormap);
ActiveModColorEffect.highlightNormalModifiers(false);
ActiveModColorEffect.setOneShotColor(solarizedMagenta);
LEDBreatheEffect.hue = solarizedHueYellow;
LEDDigitalRainEffect.setDecayMs(8000);
LEDDigitalRainEffect.setDropMs(180);
Expand Down
4 changes: 4 additions & 0 deletions keymaps/model_100/shajra/Model100.ino
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
#include "Kaleidoscope-LEDControl.h"
#include "Kaleidoscope-LEDEffects.h"
#include "Kaleidoscope-LED-ActiveLayerColor.h"
#include "Kaleidoscope-LED-ActiveModColor.h"
#include "Kaleidoscope-LEDEffect-Breathe.h"
#include "Kaleidoscope-LEDEffect-Chase.h"
#include "Kaleidoscope-LEDEffect-DigitalRain.h"
Expand Down Expand Up @@ -334,6 +335,7 @@ KALEIDOSCOPE_INIT_PLUGINS
, WavepoolEffect
, StalkerEffect
, MiamiEffect
, ActiveModColorEffect
, LocalLEDEffect

, HostPowerManagement
Expand Down Expand Up @@ -393,6 +395,8 @@ void setup()
OneShot.disableStickabilityForModifiers();

LEDActiveLayerColorEffect.setColormap(layerColormap);
ActiveModColorEffect.highlightNormalModifiers(false);
ActiveModColorEffect.setOneShotColor(solarizedMagenta);
LEDBreatheEffect.hue = solarizedHueYellow;
LEDDigitalRainEffect.setDecayMs(8000);
LEDDigitalRainEffect.setDropMs(180);
Expand Down

0 comments on commit 045b1f9

Please sign in to comment.