-
Notifications
You must be signed in to change notification settings - Fork 162
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
Layer toggle behind layer hold #665
Comments
The following sort-of achieves what you want:
However, since |
Thank you, at first sight, I confirm that this behavior does what I expect. But I notice the same bug as you. It is fine with |
I read the code a little bit yesterday, and I have the feeling that I could not yet identify where the bug is. I need to dig more but as I am not familiar with the codebase, it is hard for me to catch it for the moment. |
changing this line makes swap work here. |
@matcls , you mean this instead no?
If so, do you understand why looping one step further is necessary? I am not sure to exactly grasp what is the purpose of this cache. |
Sorry for the slow response, I haven't had much time to triage issues lately. This was indeed a bug and should be fixed in the latest commit. |
No worries, open source does not need reactivity! Thank you a lot for fixing the bug. I just tested with the commit you introduced, and it effectively resolves my issue 🥳. I am closing this issue. |
I am having a hard time trying to accomplish the following.
I have the
[main]
layer. On this layer, I do have a layer-hold onspace
which leads me to a[headside]
layer. To note that on[main]
, I also havetab
which does not have any mapping assigned, so it regularly inputs atab
character.On
[headside]
(while keepingspace
maintained), I would then like to have thetab
key toggling back and forth on tap (and not hold) between another layer[tailside]
and this[headside]
.And so if at any moment I decide to release
space
, I should go back to[main]
whatever if[headside]
or[tailside]
was active.As an example:
[main]
I holdspace
,[headside]
, I type some keys that are mapped on this layer,tab
(while keepingspace
held) which activates[tailside]
,[tailside]
,tab
(while still keepingspace
held), which re-toggles[headside]
,[main]
by releasingspace
.Do you think such a behavior (mix of hold and tap) is achievable in keyd? Help would be greatly appreciated, and heads up for this awesome project!
The text was updated successfully, but these errors were encountered: