You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Which is intended to passthrough all inputs to @k1 except leftmeta+m, which will instead send leftctrl+o, and execute a script.
However, if leftmeta is held down while m is pressed and unpressed repeatedly, the --withhold seems to no longer work properly:
# Press "leftmeta", then "m"
KeyPress keycode 37 Control_L
KeyPress keycode 32 o
# Release only "m"
KeyRelease keycode 32 o
KeyRelease keycode 37 Control_L
# Press "m" again, with "leftmeta" held down.
KeyPress keycode 58 m <-- should not be sent
KeyPress keycode 37 Control_L
KeyPress keycode 32 o
# Release only "m"
KeyRelease keycode 32 o
KeyRelease keycode 37 Control_L
KeyRelease keycode 58 m <-- should not be sent
The text was updated successfully, but these errors were encountered:
The good news is that I have managed to reproduce the bug and have figured out what causes it.
The bad news it that it isn't easy to fix and requires me to completely rethink how --withhold works.
The code compiles and all unittests now pass, including the new
unittest from issue #46, but I still need to comb through the code
once more; too much got rewritten to have confidence that the
untouched parts of the code still function as they are supposed to.
Take the following configuration:
Which is intended to passthrough all inputs to
@k1
exceptleftmeta+m
, which will instead sendleftctrl+o
, and execute a script.However, if
leftmeta
is held down whilem
is pressed and unpressed repeatedly, the--withhold
seems to no longer work properly:The text was updated successfully, but these errors were encountered: