summaryrefslogtreecommitdiffstats
path: root/tmk_core
diff options
context:
space:
mode:
authorJoe Martin <joem@numberfour.eu>2017-10-02 14:06:52 +0200
committerJack Humbert <jack.humb@gmail.com>2017-10-10 19:15:41 +0200
commitb91ffba4be0da2b587fae7a8a25d5dfce2f55d94 (patch)
treee970206ad16bc40076c4ee3265e6d57bd5989620 /tmk_core
parent01ac8a6051be2f99ef4bba3515e08dd0cd298439 (diff)
downloadqmk_firmware-b91ffba4be0da2b587fae7a8a25d5dfce2f55d94.tar.gz
qmk_firmware-b91ffba4be0da2b587fae7a8a25d5dfce2f55d94.tar.xz
#1792 added in waits from tmk for locking switches
fixes #1792
Diffstat (limited to 'tmk_core')
-rw-r--r--tmk_core/common/action.c3
1 files changed, 3 insertions, 0 deletions
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();
}