qmk/qmk_firmware

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

Open

#25,445 opened on 2025年7月2日

GitHub で見る
 (3 comments) (0 reactions) (0 assignees)C (43,867 forks)batch import
bughelp wanted

Repository metrics

Stars
 (20,368 stars)
PR merge metrics
 (平均マージ 20d 9h) (30d で 27 merged PRs)

説明

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

コントリビューターガイド