39aldo39 / klfc

Keyboard Layout Files Creator
GNU General Public License v3.0
222 stars 12 forks source link

Cancle latch status for modifier keys? #23

Closed AmaiKinono closed 5 years ago

AmaiKinono commented 5 years ago

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 5 years ago

Does the Escape key help?

AmaiKinono commented 5 years ago

No, it works like modifier key + Esc.

39aldo39 commented 5 years ago

Unfortunately I can currently not test it on Linux, but I have two suggestions:

AmaiKinono commented 5 years ago

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 5 years ago

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.