Skip to content

Commit

Permalink
It appears that when the BIOS isn't reporting the keyboard LED state …
Browse files Browse the repository at this point in the history
…back to the keyboard, the old code resulted in sending far too many key reports. (Specifically, out of controll key repeat on OSX)
  • Loading branch information
obra committed Nov 13, 2017
1 parent 1fb97c9 commit 952198a
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/Kaleidoscope-NumPad.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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());
Expand Down

0 comments on commit 952198a

Please sign in to comment.