diff --git a/src/Kaleidoscope/AlphaSquare-Effect.h b/src/Kaleidoscope/AlphaSquare-Effect.h index 34381df2..ff5bd386 100644 --- a/src/Kaleidoscope/AlphaSquare-Effect.h +++ b/src/Kaleidoscope/AlphaSquare-Effect.h @@ -29,6 +29,15 @@ class AlphaSquareEffect : public LEDMode { static uint16_t length; EventHandlerResult onKeyswitchEvent(Key &mappedKey, byte row, byte col, uint8_t keyState); + +#if KALEIDOSCOPE_ENABLE_V1_PLUGIN_API + kaleidoscope::EventHandlerResult onSetup() { + ::LEDControl.mode_add(this); + + return kaleidoscope::EventHandlerResult::OK; + } +#endif + protected: void update(void) final;