From: Joe Martin Date: Mon, 2 Oct 2017 12:06:52 +0000 (+0200) Subject: #1792 added in waits from tmk for locking switches X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=b91ffba4be0da2b587fae7a8a25d5dfce2f55d94;p=qmk_firmware.git #1792 added in waits from tmk for locking switches fixes #1792 --- diff --git a/tmk_core/common/action.c b/tmk_core/common/action.c index 84e661523..41de01485 100644 --- a/tmk_core/common/action.c +++ b/tmk_core/common/action.c @@ -619,6 +619,7 @@ void register_code(uint8_t code) #endif add_key(KC_CAPSLOCK); send_keyboard_report(); + wait_ms(100); del_key(KC_CAPSLOCK); send_keyboard_report(); } @@ -629,6 +630,7 @@ void register_code(uint8_t code) #endif add_key(KC_NUMLOCK); send_keyboard_report(); + wait_ms(100); del_key(KC_NUMLOCK); send_keyboard_report(); } @@ -639,6 +641,7 @@ void register_code(uint8_t code) #endif add_key(KC_SCROLLLOCK); send_keyboard_report(); + wait_ms(100); del_key(KC_SCROLLLOCK); send_keyboard_report(); }