Replies: 5 comments 11 replies
-
🤔 interestingly, if I bump my repeat delay in plasma 10x to 2.5 seconds, the effect goes away (my default delay is fairly tight 250ms). Maaaybe the problem exists between the chair and the keyboard and I just keep the key pressed too long? I am not sure -- I am not getting "spurious" repeats outside of layer switching. Still, I guess bumping the repeat delay to 400ms might be a good-enough work-around for me? |
Beta Was this translation helpful? Give feedback.
-
The answer to this is a little more subtle and perhaps interesting than PEBCAK vs. a kanata bug. On Linux, kanata may choose to send a
Doing it this way allows key repeat in a console-only scenario with no desktop environment (DE). I don't see any of these events being sent which means that kanata isn't activating key repeats of its own volition. From what I've read in the past, DEs may ignore these The kernel knows that
However, the DE has no way to know that the space key has actually been pressed - it thinks the physical Another different workaround you might be able to do in kanata is to add a
|
Beta Was this translation helpful? Give feedback.
-
Oh my god, this has been annoying me for ages, thank you for figuring it out! |
Beta Was this translation helpful? Give feedback.
-
Is it possible that the |
Beta Was this translation helpful? Give feedback.
-
I just came upon this here, ignoring it at first since it's marked as applying to Linux only and I'm on macOS. I have exactly the same issue with antedecent keys being repeated that should not be repeated, in my case I stumbled upon it with my homerow mods, making them completely unusable. I drew up the following simulation, showing that's indeed a katana issue and not a system level thing: https://jtroo.github.io?data=BQEwpgZgzgTgxgAgIYIEYEoBQpJIDYCWSUmCaCwALkgA4C0AFgPZ4gIBMADJx9+XlAiUsWHBDxIAnmBhpiYZAgACGTAB8NmrdrUgAXAGkwkgIKZKegMw99RyQCFzVngFdDxsxYCsfN3ftAA Why is button A released only after 230ms, and not after 60ms as specified in the input? I don't see any reason why it should be held... PS: Even adding the multi trick in the simulation shows that A is not released correctly. |
Beta Was this translation helpful? Give feedback.
-
Describe the bug
This is a bit hard to describe, but I've noticed that I sometimes get two/three duplicate keys when using kanata.
Here's a video where I type
type
, but occasionally gettypee
or eventypeee
:eee.mp4
What happens here is that, right after I type
e
, I pressspc
to switch the layers (I want to use my motion layer next). It feels like I get duplicatede
s if I pressspc
too fast.Version
Relevant kanata configs
Debug logs
Here's a debug log for
typee
(I am using workman layout, so the key names are not type):Now that I've looked at it, here's a better log where I get just
eee
:It seems the sequence of events here is:
e
spc
e
So the keypress straddles a layer switch, and that somehow causes triplication of the event.
Operating system
Linux (NixOS), wayland
Beta Was this translation helpful? Give feedback.
All reactions