Add TAP_CODE_DELAY to Mod-Tap (#9422)
This commit is contained in:
parent
29b4f83a1f
commit
03c790a0f2
1 changed files with 2 additions and 0 deletions
|
@ -364,6 +364,8 @@ void process_action(keyrecord_t *record, action_t action) {
|
||||||
dprint("MODS_TAP: Tap: unregister_code\n");
|
dprint("MODS_TAP: Tap: unregister_code\n");
|
||||||
if (action.layer_tap.code == KC_CAPS) {
|
if (action.layer_tap.code == KC_CAPS) {
|
||||||
wait_ms(TAP_HOLD_CAPS_DELAY);
|
wait_ms(TAP_HOLD_CAPS_DELAY);
|
||||||
|
} else {
|
||||||
|
wait_ms(TAP_CODE_DELAY);
|
||||||
}
|
}
|
||||||
unregister_code(action.key.code);
|
unregister_code(action.key.code);
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in a new issue