diff --git a/src/Kaleidoscope/LED-ActiveModColor.cpp b/src/Kaleidoscope/LED-ActiveModColor.cpp index 3f9e1f73..5bd67263 100644 --- a/src/Kaleidoscope/LED-ActiveModColor.cpp +++ b/src/Kaleidoscope/LED-ActiveModColor.cpp @@ -61,21 +61,6 @@ EventHandlerResult ActiveModColorEffect::beforeReportingState() { return EventHandlerResult::OK; } -// Legacy API -#if KALEIDOSCOPE_ENABLE_V1_PLUGIN_API -void ActiveModColorEffect::begin() { - Kaleidoscope.useLoopHook(legacyLoopHook); -} - -void ActiveModColorEffect::legacyLoopHook(bool is_post_clear) { - if (is_post_clear) - return; - - ::ActiveModColorEffect.beforeReportingState(); -} -#endif - - } kaleidoscope::ActiveModColorEffect ActiveModColorEffect; diff --git a/src/Kaleidoscope/LED-ActiveModColor.h b/src/Kaleidoscope/LED-ActiveModColor.h index 954ffeaa..66617c9f 100644 --- a/src/Kaleidoscope/LED-ActiveModColor.h +++ b/src/Kaleidoscope/LED-ActiveModColor.h @@ -30,16 +30,6 @@ class ActiveModColorEffect : public kaleidoscope::Plugin { static cRGB sticky_color; EventHandlerResult beforeReportingState(); - -#if KALEIDOSCOPE_ENABLE_V1_PLUGIN_API - kaleidoscope::EventHandlerResult onSetup() { - return kaleidoscope::EventHandlerResult::OK; - } - - protected: - void begin(); - static void legacyLoopHook(bool is_post_clear); -#endif }; }