From 0943911786e53f468254c243e04e6eededb3e97f Mon Sep 17 00:00:00 2001 From: Gergely Nagy Date: Sun, 29 Oct 2017 22:22:28 +0100 Subject: [PATCH] Use kaleidoscope::hid instead of Keyboard directly Signed-off-by: Gergely Nagy --- src/Kaleidoscope-Numlock.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Kaleidoscope-Numlock.cpp b/src/Kaleidoscope-Numlock.cpp index 5bd2dc33..651975da 100644 --- a/src/Kaleidoscope-Numlock.cpp +++ b/src/Kaleidoscope-Numlock.cpp @@ -16,7 +16,7 @@ void NumLock_::loopHook(bool postClear) { if (!postClear) return; - bool numState = !!(Keyboard.getLEDs() & LED_NUM_LOCK); + bool numState = !!(kaleidoscope::hid::getKeyboardLEDs() & LED_NUM_LOCK); if (numState != isOn) { isOn = numState; if (isOn) {