mirror of
https://github.com/firewalkwithm3/qmk_firmware.git
synced 2024-11-22 11:30:30 +08:00
Add TAP_CODE_DELAY to Mod-Tap (#9422)
This commit is contained in:
parent
29b4f83a1f
commit
03c790a0f2
|
@ -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