Explorar o código

Add TAP_CODE_DELAY to Mod-Tap (#9422)

Sven Grunewaldt %!s(int64=5) %!d(string=hai) anos
pai
achega
03c790a0f2
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      tmk_core/common/action.c

+ 2 - 0
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 {