diff options
author | Gergely Nagy <algernon@keyboard.io> | 2019-07-09 12:56:53 +0200 |
---|---|---|
committer | Gergely Nagy <algernon@keyboard.io> | 2019-07-09 12:56:53 +0200 |
commit | bcff391145d619eb67741dad0abda05c6d618097 (patch) | |
tree | 0259de475a265d5ec33c8f2475def34b3b7981b3 | |
parent | c41e95179c7105c972fa60906becffe3a8434c1b (diff) | |
download | Model01-Firmware-bcff391145d619eb67741dad0abda05c6d618097.tar.gz Model01-Firmware-bcff391145d619eb67741dad0abda05c6d618097.zip |
Include and initalize LEDPaletteTheme too
Without the `LEDPaletteTheme` plugin, `Colormap` doesn't work either, since the
palette is not initialized. Lets include and initialize the palette plugin too.
Fixes #86.
Signed-off-by: Gergely Nagy <algernon@keyboard.io>
-rw-r--r-- | Model01-Firmware.ino | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Model01-Firmware.ino b/Model01-Firmware.ino index 6a0ca21..7215de6 100644 --- a/Model01-Firmware.ino +++ b/Model01-Firmware.ino @@ -57,6 +57,9 @@ // Support for an LED mode that prints the keys you press in letters 4px high #include "Kaleidoscope-LED-AlphaSquare.h" +// Support for shared palettes for other plugins, like Colormap below +#include "Kaleidoscope-LED-Palette-Theme.h" + // Support for an LED mode that lets one configure per-layer color maps #include "Kaleidoscope-Colormap.h" @@ -456,6 +459,10 @@ KALEIDOSCOPE_INIT_PLUGINS( // The stalker effect lights up the keys you've pressed recently StalkerEffect, + // The LED Palette Theme plugin provides a shared palette for other plugins, + // like Colormap below + LEDPaletteTheme, + // The Colormap effect makes it possible to set up per-layer colormaps ColormapEffect, |