-
Hi! I know I'm probably configuring this incorrectly, as I've had my stable kanata config running for over a year now without changes (a testament to this projects fidelity and quality, btw) so I'm a lil out of the loop. Apologies if I missed an existing issue or discussion that answers this for me. I wanted to add the following new feature to my config:
I did this like so: (defalias
...
;; tap: open paren, hold: lshift
lsftp (tap-hold-press 200 5000 S-9 lsft)
;; tap: close paren, hold: rshift
rsftp (tap-hold-press 200 5000 S-0 rsft)
...
) This worked great for all pure keyboard usage; shifts still worked flawlessly as modifiers for keypresses, including with other modifier keys no matter the order. It even kept working with my capslock-hyper-key setup, where However, mouse-related actions like shift+mousewheel to scroll horizontally, and shift+left click to bulk select things in windows explorer or other apps etc, no longer worked. That is, Interestingly, if I add an extra modifier, then together the modifiers do work:
However, the order in which I hold the modifiers matters - I have to press shift first:
What should I do? Anything else from my config I should share? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 7 replies
-
Noticing that your timeout is set to This can be worked around in interception and Linux because the mouse can be intercepted and its events can be used to trigger the Another workaround you can do is to avoid |
Beta Was this translation helpful? Give feedback.
-
Thanks for your promptness as always. And wow, kanata's got quite a bit more features than I last remember it. This really is one of the most impressive projects I've seen by a (presumably) solo author. I need to do some reading! In your comment, you mention using
|
Beta Was this translation helpful? Give feedback.
-
Hi! I finally got around to trying this out. It indeed does work such that I can immediately start horizontal scrolling (example use case) with the mousewheel the moment I've started holding down However, it now emits the opening paren once I let go of Also is there a way to still have the timeout? So I don't have to worry about "safely" releasing I'm sorry if I'm putting the onus on you haha 😅 there are so many (impressive) additions since I last dived into the docs at this point, including all this exciting |
Beta Was this translation helpful? Give feedback.
There's no
input-timing
(yet) but you can usekey-timing
withrecency = 1
, which will check against thelsft
, if that has still been the most recent key press.Simulator