qmk/qmk_firmware

[Bug] Mod-tap auto repeats key that is not pressed with two mod-taps

Open

#25.445 geöffnet am 2. Juli 2025

Auf GitHub ansehen
 (3 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)C (43.867 Forks)batch import
bughelp wanted

Repository-Metriken

Stars
 (20.368 Stars)
PR-Merge-Metriken
 (Durchschn. Merge 20T 9h) (27 gemergte PRs in 30 T)

Beschreibung

Describe the Bug

Hello,

This is a pretty weird setup so I’ll try to explain as easy as possible. I noticed a weird behavior lately when using mod-tap with a high tapping term. I initially had a lower tapping term, but weird extra whitespaces, and thus realized something was really off by increasing the tapping term. I currently have this setting:

#define TAPPING_TERM 2000
#define PERMISSIVE_HOLD

I have, on my Corne, assigned to two keys LT(SYM, KC_SPC) and RSFT_T(KC_BSPC) — note: I also tried it with other keys, the pattern is the same.

Now, the following sequences of keys:

  1. Press LT(SYM, KC_SPC).
  2. Press RSFT_T(KC_BSPC).
  3. Release LT(SYM, KC_SPC).
  4. Wait until the end of the tapping term (around 2s).

Even though the space key is released, keeping pressing on the shift key outputs a repeated sequences of spaces. I had a look in wev, and it basically behaves as if the space key was pressed and not released, but gets released at the end of the tapping term.

I tried disabling flow tap, chordal hold, etc. etc. (as the setup above showed, none of that is enabled), and the problem still holds. The only way I have found to fix that issue is to remove the LT on the space key, which is not ideal to me.

Keyboard Used

Tried on:

  • splitkb Aurora Corne v1.1
  • ZSA Voyager (Oryx)

Link to product page (if applicable)

No response

Operating System

No response

qmk doctor Output

Is AutoHotKey / Karabiner installed

  • AutoHotKey (Windows)
  • Karabiner (macOS)

Other keyboard-related software installed

No response

Additional Context

No response

Contributor Guide