Skip to content

Other keys "virtually" being held until TapHold resolves #102

@dariogoetz

Description

@dariogoetz

This might be related to what @TeXitoi wrote in #25.

I observe multiple key activations in my OS after finishing words, e.g. "timeee ".
After lots of debugging, I think that I can pinpoint the problem:

If a key is pressed and a TapHold key pressed afterwards (in my case, the "space" key), but before releasing the previous key, the release of the previous key gets delayed until the TapHold is resolved.

Example (TapHold timeout of 200 ms, OS repeat after 220 ms):

  0 ms: press "a"       -> "a" appears in the OS
 70 ms: press "space"   -> no change in OS
 80 ms: release "a"     -> no change in OS
220 ms: ---             -> another "a" appears
225 ms: ---             -> another "a" appears
...                     -> multiple "a" appearing
...
240 ms: release "space" -> "space" appears in the OS after the multiple "a"s

I use a rather low repeat delay in my OS (220 ms, I believe), so if I am a little lazy on the space key, I get the aforementioned multiple quite easily.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions