bugs of chord
Author: shuangsystemCreated Sep 29, 2026Updated Sep 29, 2026
Labelsbug
Requirements
- I've searched platform-specific issues, issues and discussions to see if this has been reported before.
- My issue does not involve multiple simultaneous key presses, OR it does but I've confirmed it is not key rollover or ghosting.
Describe the bug
(defcfg
process-unmapped-keys yes
)
(defsrc)
(deflayermap (main)
caps (tap-hold-press 0 180 caps (layer-while-held test))
)
(deflayermap (test)
1 (chord cha n1)
2 (chord cha n2)
3 (chord cha n3)
4 (chord cha n4)
kp1 (chord cha kp1)
kp2 (chord cha kp2)
kp3 (chord cha kp3)
kp4 (chord cha kp4)
lctrl (layer-while-held test2)
)
(deflayermap (test2)
kp1 (chord cha n1)
kp2 (chord cha n2)
kp3 (chord cha n3)
kp4 (chord cha n4)
)
(defchords cha 65535
(n1 n3) 2
(n2 n4) 3
(kp1 kp3) 6
(kp2 kp4) 7
)When I run with this configuration, after holding caps and then pressing lctrl, releasing caps, and then pressing kp1 and kp3, it outputs 6 instead of 2. 当我以这个配置运行时, 按住caps后按lctrl, 松开caps 然后按kp1和kp3会输出6而不是2
Relevant kanata config
To Reproduce
.
Expected behavior
.
Kanata version
kanata 12.1-pre
Debug logs
Operating system and I/O mechanism
archLinux
Additional context
No response
Source: jtroo/kanata