qmk/qmk_firmware

[Bug] Weak mods not cleared properly when using Layer Tap and quicky tapping shifted keycodes.

Open

#17,569 建立於 2022年7月5日

在 GitHub 查看
 (14 留言) (7 反應) (0 負責人)C (43,867 fork)batch import
bughelp wanted

倉庫指標

Star
 (20,368 star)
PR 合併指標
 (平均合併 20天 9小時) (30 天內合併 27 個 PR)

描述

Describe the Bug

Have LT(1, KC_SPACE), on layer one, have KC_COLN (shifted semicolon), and KC_LBRC (not shifted). If you hit LT, then the colon, and then any non-shifted key, it will be shifted.

Eg, this should produce: :] but will produce :}. Not every time, but if you do this fast enough, it will happen consistently.

I have tracked this down to the code change in #9941. However reverting this breaks a number of other pathways. Even partially reverting it (adding the clear weak mods to both sections).

it may be possible to fix the other features, as well, but.....

System Information

Keyboard: Moonlander, Charybdis, Ergodox EZ Revision (if applicable): N/A Operating system: MacOS, Windows qmk doctor output: Not relevant to this

Any keyboard related software installed?

  • AutoHotKey (Windows)
  • Karabiner (macOS)
  • Other:

Additional Context

Explicitly reverting the code change from #9941 fixes the issue. But breaks other features, such as caps words.

@IsaacElenbaas @getreuer a heads up

貢獻者指南