diff --git a/README.md b/README.md index f8ec6b8e..d1987766 100644 --- a/README.md +++ b/README.md @@ -44,7 +44,7 @@ void magicComboActions(uint8_t combo_index, uint32_t left_hand, uint32_t right_h void setup() { Serial.begin(9600); - USE_PLUGINS(&MagicCombo); + Kaleidoscope.use(&MagicCombo); Kaleidoscope.setup(); diff --git a/examples/MagicCombo/MagicCombo.ino b/examples/MagicCombo/MagicCombo.ino index ac581868..77e51103 100644 --- a/examples/MagicCombo/MagicCombo.ino +++ b/examples/MagicCombo/MagicCombo.ino @@ -59,7 +59,7 @@ const Key keymaps[][ROWS][COLS] PROGMEM = { void setup() { Serial.begin(9600); - USE_PLUGINS(&MagicCombo); + Kaleidoscope.use(&MagicCombo); Kaleidoscope.setup(); diff --git a/src/Kaleidoscope/MagicCombo.cpp b/src/Kaleidoscope/MagicCombo.cpp index 114e7026..ef016687 100644 --- a/src/Kaleidoscope/MagicCombo.cpp +++ b/src/Kaleidoscope/MagicCombo.cpp @@ -38,7 +38,7 @@ MagicCombo::MagicCombo(void) { } void MagicCombo::begin(void) { - loop_hook_use(loopHook); + Kaleidoscope.useLoopHook(loopHook); } void MagicCombo::loopHook(bool is_post_clear) {