-
Notifications
You must be signed in to change notification settings - Fork 99
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
release-key
releases both sides of a mod and not just one, e.g. lctl
and rctl
or lmet
and rmet
#1106
Comments
Can add the logs from running with --debug while reproducing the issue? Knowing the implementation of release-key, my first guess would be an OS issue, but not a guarantee. |
Sure, and what I did: held
|
My guess was correct; you should use either the winiov2 or the send scancodes variant. Or if compiling from source, use |
Closing since SendInput vkey output has known issues+workarounds. But happy to reopen if I'm mistaken about the problem and solution. |
Recompiled just with the first flag, |
Stupid question but what about making this feature flag the default or is it too experimental? |
A PR is already open for this 🙂 |
Requirements
Describe the bug
release-key
releases both sides of a mod and not just one.In following example, I want to use
;
asrctl
except forhjkl
where is should act as cursor keys, hence releasingrtcl
when pressed. But if these are pressed together witha
which acts aslctl
I'd like to have C-arrows (to jump between words). In other words,rtcl
should be released whilelctl
is being held.Problem is that
release-key
release both sides.Relevant kanata config
(This is the Windows and Linux version, not macOS because jumping words there is done with alt., which I override with the meta keys, hence
release-key
should also release only one side of the meta keys and so on)To Reproduce
a
and;
and pressingh
orl
Expected behavior
release-key
should only release the specified side of a mod, e.g.lctl
orrctl
in our example but not both. Then jumping words with holdinga
and;
while pressingh
andl
would work.Kanata version
v1.7.0-prerelease
Debug logs
No response
Operating system
tested on Windows 11
Additional context
No response
The text was updated successfully, but these errors were encountered: