Skip to content

Commit

Permalink
Add TAP_CODE_DELAY to Mod-Tap (qmk#9422)
Browse files Browse the repository at this point in the history
  • Loading branch information
strayer authored Jul 7, 2020
1 parent bdf9e74 commit 834906f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tmk_core/common/action.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 834906f

Please sign in to comment.