1
0

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>
This commit is contained in:
Gergely Nagy 2019-07-09 12:56:53 +02:00
parent c41e95179c
commit bcff391145
No known key found for this signature in database
GPG Key ID: AC1E90BAC433F68F

View File

@ -57,6 +57,9 @@
// Support for an LED mode that prints the keys you press in letters 4px high // Support for an LED mode that prints the keys you press in letters 4px high
#include "Kaleidoscope-LED-AlphaSquare.h" #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 // Support for an LED mode that lets one configure per-layer color maps
#include "Kaleidoscope-Colormap.h" #include "Kaleidoscope-Colormap.h"
@ -456,6 +459,10 @@ KALEIDOSCOPE_INIT_PLUGINS(
// The stalker effect lights up the keys you've pressed recently // The stalker effect lights up the keys you've pressed recently
StalkerEffect, 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 // The Colormap effect makes it possible to set up per-layer colormaps
ColormapEffect, ColormapEffect,