diff options
author | Sven Grunewaldt <strayer@olle-orks.org> | 2020-07-07 22:47:59 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-07 21:47:59 +0100 |
commit | 03c790a0f23fe05f0b0fde84d3a2d3e7987a7f73 (patch) | |
tree | 2fb9d05173ddc0a001d611446491c32a0365f1fc /tmk_core | |
parent | 29b4f83a1fab8b0b1674ba181732790c5cc269c1 (diff) |
Add TAP_CODE_DELAY to Mod-Tap (#9422)
Diffstat (limited to 'tmk_core')
-rw-r--r-- | tmk_core/common/action.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tmk_core/common/action.c b/tmk_core/common/action.c index 69bcf8e56b..ee9aa0df77 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 { |