1
0
Fork 0

Add TAP_CODE_DELAY to Mod-Tap (#9422)

This commit is contained in:
Sven Grunewaldt 2020-07-07 22:47:59 +02:00 committed by GitHub
parent 29b4f83a1f
commit 03c790a0f2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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 {