From bcff391145d619eb67741dad0abda05c6d618097 Mon Sep 17 00:00:00 2001 From: Gergely Nagy Date: Tue, 9 Jul 2019 12:56:53 +0200 Subject: 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 --- Model01-Firmware.ino | 7 +++++++ 1 file changed, 7 insertions(+) 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, -- cgit v1.2.3