qmk/qmk_firmware

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

Open

#25.445 aperta il 2 lug 2025

Vedi su GitHub
 (3 commenti) (0 reazioni) (0 assegnatari)C (43.867 fork)batch import
bughelp wanted

Metriche repository

Star
 (20.368 star)
Metriche merge PR
 (Merge medio 20g 9h) (27 PR mergiate in 30 g)

Descrizione

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

Guida contributor