ktrl
ktrl copied to clipboard
`TapModi` makes the key stick
With this script
KEY_C: TapModi(KEY_LEFTCTRL, Key(KEY_C), Key(KEY_I)),
The following sequence works fine:
LEFTCTRL down -> KEY_C down -> KEY_C up -> LEFTCTRL up
But if I lift LEFTCTRL before KEY_C, KEY_I will stick and start emitting on repeat:
LEFTCTRL down -> KEY_C down -> LEFTCTRL up -> KEY_C up
Result: ccccccccccccccccccccc... (the character under KEY_I) is printed until I press some other button.
There also sometimes happens another bug where (probably) my Win key sticks and I become unable to type any text but I couldn't track down what exactly causes it.