|
|
@ -29,6 +29,7 @@ class ColormapEffect : public LEDMode {
|
|
|
|
void max_layers(uint8_t max_);
|
|
|
|
void max_layers(uint8_t max_);
|
|
|
|
|
|
|
|
|
|
|
|
static bool focusHook(const char *command);
|
|
|
|
static bool focusHook(const char *command);
|
|
|
|
|
|
|
|
static bool focusHookLayerwise(const char *command);
|
|
|
|
|
|
|
|
|
|
|
|
protected:
|
|
|
|
protected:
|
|
|
|
void setup(void) final;
|
|
|
|
void setup(void) final;
|
|
|
@ -47,3 +48,6 @@ extern kaleidoscope::ColormapEffect ColormapEffect;
|
|
|
|
|
|
|
|
|
|
|
|
#define FOCUS_HOOK_COLORMAP FOCUS_HOOK(ColormapEffect.focusHook, \
|
|
|
|
#define FOCUS_HOOK_COLORMAP FOCUS_HOOK(ColormapEffect.focusHook, \
|
|
|
|
"colormap.map")
|
|
|
|
"colormap.map")
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#define FOCUS_HOOK_COLORMAP_LAYER FOCUS_HOOK(ColormapEffect.focusHookLayerwise, \
|
|
|
|
|
|
|
|
"colormap.layer")
|
|
|
|