Overload causes both overloaded and new key to be executed.
capslock = overload(control, esc)
When I tap capslock:
keyd virtual keyboard 0fac:0ade:efba1ddf leftcontrol down keyd virtual keyboard 0fac:0ade:efba1ddf leftcontrol up keyd virtual keyboard 0fac:0ade:efba1ddf esc down keyd virtual keyboard 0fac:0ade:efba1ddf esc up
Tapping capslock shouldn't emit leftcontrol.
As mentioned in #938, this is by design. Is this causing a real problem?
Yes. I had used the example config to use caps as ctrl and Esc.
-
I am using Zen browser and setting shortcuts, I need to press Esc after I assign shortcuts. But since keyd sends Ctrl before esc, Zen browser takes and I can't assign shortcuts. This is just minor thing.
-
I noticed this when I was trying to debug the Neovim case like in #938. I have been using neovim/keyd for years and never had problem with using Caps[Esc] button in normal cases. Now, I encountered this issue where it works 9 out of 10 times but fails 1 out of 10 times. To make sure that it isn't caused by double pressing, I just wrote a sentence in neovim and just pressed [i] and [caps] and found that it didn't work. I thought this was due to cosmic de. I had to work and couldn't waste time debugging. So, I installed Linux mint but the issue persisted.
But it is working now. I had switched to xcape in Linux x11 but tried keyd again. So, the problem with neovim is solved for now.
Beside, is there any way where I can make it that ctrl is not emitted when i just tap by using layer or other thing?