summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSven Grunewaldt <strayer@olle-orks.org>2020-07-07 22:47:59 +0200
committerDrashna Jael're <drashna@live.com>2020-08-08 22:19:09 -0700
commit8ddee611800c2683a805f41cba499fee9d943fec (patch)
tree6f1e545a5399ab8f01252b5bfaecbc8f5a1b5aec
parentfe14cbb4f420737a52231df38737f6c419e4d3da (diff)
Add TAP_CODE_DELAY to Mod-Tap (#9422)
-rw-r--r--tmk_core/common/action.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tmk_core/common/action.c b/tmk_core/common/action.c
index 0a447018b2..aa1a2999e0 100644
--- a/tmk_core/common/action.c
+++ b/tmk_core/common/action.c
@@ -364,6 +364,8 @@ void process_action(keyrecord_t *record, action_t action) {
dprint("MODS_TAP: Tap: unregister_code\n");
if (action.layer_tap.code == KC_CAPS) {
wait_ms(TAP_HOLD_CAPS_DELAY);
+ } else {
+ wait_ms(TAP_CODE_DELAY);
}
unregister_code(action.key.code);
} else {