Skip to content

Conversation

@uSpike
Copy link

@uSpike uSpike commented Jan 19, 2024

I found that a debounce time of 10ms was causing very frequent twice-registered keys with my typing style. After setting the debounce time to 20ms I find that no repeated characters occur when typing 10 line of text.

Fixes: system76/firmware-open#509

I found that a debounce time of 10ms was causing very frequent
twice-registered keys with my typing style.  After setting the
debounce time to 20ms I find that no repeated characters occur
when typing 10 line of text.

Ref: system76/firmware-open#509
Signed-off-by: Jordan Speicher <jordan@jspeicher.com>
@leviport leviport requested review from a team January 19, 2024 22:30
@leviport leviport self-assigned this Jan 22, 2024
Copy link
Member

@leviport leviport left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This seems like it's working fine for me.

@uSpike
Copy link
Author

uSpike commented Oct 22, 2025

Any chance this could be merged? I've not upgraded EC for some time waiting for this..

@jacobgkau
Copy link
Member

jacobgkau commented Oct 22, 2025

Just want to point out that this value was originally set to 20ms. It was reduced to 15ms alongside other behavior improvements: #60

After that, anther user wanted it moved all the way down to 3ms: #359

As a compromise, we went to 5ms (#378), but later raised it back up to the current 10ms (#405).

I wonder if this config needs to be more board-specific (if the ghosting behavior differs per laptop), or if it should just be more user-configurable without having to build custom firmware, since there's been so much push and pull on different values. It's possible the behavior improvements in #60 would've made it work alright without changing the value at that time, but it's also possible another user comes along wanting another timing change after this is merged.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

darp8 keyboard debounce too lax resulting in multiple chharacters

3 participants