Overload + click emits the macro
keyd version: 2.4.3, on Ubuntu Noble if that makes a difference.
I have the following in my config:
leftshift = overload(shift, S-9)
rightshift = overload(shift, S-0)
Holding shift, clicking, and releasing shift emits a parenthesis. This means that I can't shift-click anymore to select text. I saw overloadt2 in the manpage, but it doesn't work for me either: the timeout is either too big and when quickly typing S-a I get (a, or the timeout is too small and I can't type the parenthesis alone.
It'd be great if overload+click did not emit the macro (or whatever the second argument is).
BTW the readme links to this doc, which seems outdated compared to the manpage. I only found out about overloadt2 when writing this issue, after grepping the repo & then looking at the manpage.
Alternatively, it'd be great if there was a way to emit the macro on release, only if there was no intervening event. This is the way that xcape works, and I believe kmonad can do the same with tap-hold: https://github.com/kmonad/kmonad/blob/master/keymap/tutorial.kbd#L816-L820.
This means that I can't shift-click anymore to select text.
I believe this should be solved by adding your mouse to your [ids] (explicitly, not by the wildcard *). Then, the mouse click will be treated as an intervening event.
Alternatively, it'd be great if there was a way to emit the macro on release, only if there was no intervening event.
That should be how it currently works for plain overload :)
which seems outdated compared to the manpage
I can see the confusion. Probably best not to use permalinks in the README.
This should now produce the expected behaviour on master.