Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@rgoulter
Copy link
Owner

@rgoulter rgoulter commented Mar 29, 2025

A simple implementation for split keyboard code will: have the keymap handle events from the matrix scanning; and not tick() the keymap if the report hasn't sent over USB. -- This results in the keymap's input queue overflowing.

This PR adds a motivating test case which demonstrates the issue, and fixes this in the code.

@rgoulter rgoulter merged commit cdc24be into master Mar 29, 2025
5 checks passed
@rgoulter rgoulter deleted the fix-keymap-tickless-input-handling branch March 29, 2025 14:40
@rgoulter
Copy link
Owner Author

FWIW, Not all overflows are ignored... e.g. if more than max_pressed_keys are pressed at once, the firmware will still panic. I'm not sure how 'robust' I want the keymap firmware to be against all these cases.

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.

2 participants