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

Debounce code typo #2

Open
chauser opened this issue Sep 6, 2016 · 0 comments
Open

Debounce code typo #2

chauser opened this issue Sep 6, 2016 · 0 comments

Comments

@chauser
Copy link

chauser commented Sep 6, 2016

Line 128:
if (debouncingKeys[i][j] == true && micros() - debouncingMicros[i][j] / 1000 > debounceMillis) {
I believe should be
if (debouncingKeys[i][j] == true && (micros() - debouncingMicros[i][j]) / 1000 > debounceMillis) {
As it is, something with units of milliseconds is being subtracted from something with units of microseconds. Experience with some pretty bouncy switches suggests that changing this is a big help.

Thanks for your work on StenoBoard and for providing StenoFW. It's a great software starting point for exploring keyboard designs.

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

No branches or pull requests

1 participant