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

Replace debouncing code for ErgoDox #44

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

fd0
Copy link

@fd0 fd0 commented Jul 5, 2018

The old debouncing code blocked the whole keyboard for several milliseconds when a single key was pressed, only afterwards a key press was signalled to the host.

This code changes two things:

  • On the initial edge, the key press is directly signalled to the host

  • Afterwards, that particular key is blocked for DEBOUNCE number of matrix scans, the others are read and signalled as usual

Tested and verified to work on my ErgoDox keyboard.

See #43

The old debouncing code blocked the whole keyboard for several
milliseconds when a single key was pressed, only afterwards a key press
was signalled to the host.

This code changes two things:

 * On the initial edge, the key press is directly signalled to the host

 * Afterwards, that particular key is blocked for DEBOUNCE number of
   matrix scans, the others are read and signalled as usual
@fd0 fd0 changed the title Replace debouncing code Replace debouncing code for ErgoDox Jul 5, 2018
@fd0
Copy link
Author

fd0 commented Sep 23, 2018

So, anything else I can do to get this merged?

Copy link
Collaborator

@squarefrog squarefrog left a comment

Choose a reason for hiding this comment

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

Seems fine to me. I briefly tested it and found no issues. However I have recently switched over to using QMK daily, so I'd have to pass the final say over to @marknsikora

keyboard/ergodox/config.h Show resolved Hide resolved
@fd0
Copy link
Author

fd0 commented Mar 23, 2019

Is there anything else to do?

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.

3 participants