Cancle latch status for modifier keys?
Closed this issue · 5 comments
AmaiKinono commented
I am using latch:
options for all my modifier keys. Sometimes I hit a modifier key by accident and want to cancel it. Is there anyway to do it in klfc? or it's not supported by xkb?
Thanks!
DreymaR commented
Does the Escape key help?
AmaiKinono commented
No, it works like modifier key + Esc
.
39aldo39 commented
Unfortunately I can currently not test it on Linux, but I have two suggestions:
- It should work like sticky keys (but just on single keys). According to this question it may be possible to cancel it by pressing the key twice.
- If that doesn't work, you can also try mapping an unused key to
""
. If you then press that key, it should register asmodifier + VoidSymbol
which shouldn't do anything.
AmaiKinono commented
Thanks for your help! Pressing twice doesn't cancel it (would be wonderful if it does). I also tried mapping Ctrl + Ctrl to " "
(using layer), that doesn't help either. Mapping an unused key to " "
seems a good idea, I will do that.
AmaiKinono commented
try mapping an unused key to
""
.
Yes, I can confirm this works. Feel free to close this issue, or leave it for further test/discussion.