qmk/qmk_firmware

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

Open

#25,445 创建于 2025年7月2日

在 GitHub 查看
 (3 评论) (0 反应) (0 负责人)C (43,867 fork)batch import
bughelp wanted

仓库指标

Star
 (20,368 star)
PR 合并指标
 (平均合并 20天 9小时) (30 天内合并 27 个 PR)

描述

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

贡献者指南