diff --git a/src/Kaleidoscope/LED-ActiveModColor.cpp b/src/Kaleidoscope/LED-ActiveModColor.cpp index 52702815..f4f77f46 100644 --- a/src/Kaleidoscope/LED-ActiveModColor.cpp +++ b/src/Kaleidoscope/LED-ActiveModColor.cpp @@ -18,6 +18,7 @@ #include #include +#include namespace kaleidoscope { @@ -49,7 +50,7 @@ void ActiveModColorEffect::loopHook(bool is_post_clear) { if (k.raw < Key_LeftControl.raw || k.raw > Key_RightGui.raw) continue; - if (Keyboard.isModifierActive(k.keyCode)) + if (hid::isModifierKeyActive(k)) LEDControl.setCrgbAt(r, c, highlight_color); } }