Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

lower latency debounce algorithm #1435

Open
e00E opened this issue Aug 26, 2024 · 1 comment
Open

lower latency debounce algorithm #1435

e00E opened this issue Aug 26, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@e00E
Copy link

e00E commented Aug 26, 2024

There are several ways you can do debouncing. This page outlines some of them.

The way Kaleidoscope currently does debouncing is called "defer" in the link. (I determined this by glancing at the code in the file keyscanner/ATmega.h.) The downside of this approach is that it incurs a fixed a latency. The latency is around 5 ms according to a comment in the code.

I would like to use a lower latency way of debouncing. The one called "eager" in the link. This mode has no extra latency.

@e00E e00E added the enhancement New feature or request label Aug 26, 2024
@obra
Copy link
Member

obra commented Aug 26, 2024 via email

@keyboardio keyboardio deleted a comment from masooddahmedd Aug 26, 2024
@keyboardio keyboardio deleted a comment from mabhi02 Aug 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants
@obra @e00E and others