From 952198a98af9a19174d9ba1ea73d8515a0f28ebb Mon Sep 17 00:00:00 2001 From: Jesse Vincent Date: Mon, 13 Nov 2017 13:57:45 -0800 Subject: [PATCH] It appears that when the BIOS isn't reporting the keyboard LED state back to the keyboard, the old code resulted in sending far too many key reports. (Specifically, out of controll key repeat on OSX) --- src/Kaleidoscope-NumPad.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/Kaleidoscope-NumPad.cpp b/src/Kaleidoscope-NumPad.cpp index c5ad13d1..ca7794aa 100644 --- a/src/Kaleidoscope-NumPad.cpp +++ b/src/Kaleidoscope-NumPad.cpp @@ -28,7 +28,6 @@ void NumPad_::loopHook(bool postClear) { bool numState = !!(kaleidoscope::hid::getKeyboardLEDs() & LED_NUM_LOCK); if (!numState) { kaleidoscope::hid::pressKey(Key_KeypadNumLock); - kaleidoscope::hid::sendKeyboardReport(); } LEDControl.set_mode(LEDControl.get_mode_index());