Merge branch 'boot-keyboard-key-repeat-fix' of https://github.com/keyboardio/Kaleidoscope into boot-keyboard-key-repeat-fix

Signed-off-by: Jesse Vincent <jesse@keyboard.io>
pull/833/head
Jesse Vincent 5 years ago
commit 496029eeb2

@ -194,10 +194,10 @@ class Keyboard {
void releaseAllKeys() __attribute__((noinline)) { void releaseAllKeys() __attribute__((noinline)) {
resetModifierTracking(); resetModifierTracking();
if (boot_keyboard_.getProtocol() == HID_BOOT_PROTOCOL) { if (boot_keyboard_.getProtocol() == HID_BOOT_PROTOCOL) {
boot_keyboard_.releaseAll(); boot_keyboard_.releaseAll();
} else { } else {
nkro_keyboard_.releaseAll(); nkro_keyboard_.releaseAll();
consumer_control_.releaseAll(); consumer_control_.releaseAll();
} }
} }
void pressConsumerControl(Key mapped_key) { void pressConsumerControl(Key mapped_key) {

Loading…
Cancel
Save