Enable the Colormap plugin too
This is primarily so that one doesn't have to flash the "experimental" firmware from Chrysalis to be able to use the colormap editor there. Signed-off-by: Gergely Nagy <algernon@keyboard.io>
This commit is contained in:
parent
c700ee2381
commit
a03b964459
@ -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 an LED mode that lets one configure per-layer color maps
|
||||
#include "Kaleidoscope-Colormap.h"
|
||||
|
||||
// Support for Keyboardio's internal keyboard testing mode
|
||||
#include "Kaleidoscope-Model01-TestMode.h"
|
||||
|
||||
@ -466,6 +469,9 @@ KALEIDOSCOPE_INIT_PLUGINS(
|
||||
// The stalker effect lights up the keys you've pressed recently
|
||||
StalkerEffect,
|
||||
|
||||
// The Colormap effect makes it possible to set up per-layer colormaps
|
||||
ColormapEffect,
|
||||
|
||||
// The numpad plugin is responsible for lighting up the 'numpad' mode
|
||||
// with a custom LED effect
|
||||
NumPad,
|
||||
@ -528,6 +534,11 @@ void setup() {
|
||||
// by using the `settings.defaultLayer` Focus command, or by using the
|
||||
// `keymap.onlyCustom` command to use EEPROM layers only.
|
||||
EEPROMKeymap.setup(5);
|
||||
|
||||
// We need to tell the Colormap plugin how many layers we want to have custom
|
||||
// maps for. To make things simple, we set it to five layers, which is how
|
||||
// many editable layers we have (see above).
|
||||
ColormapEffect.max_layers(5);
|
||||
}
|
||||
|
||||
/** loop is the second of the standard Arduino sketch functions.
|
||||
|
Loading…
x
Reference in New Issue
Block a user