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

PIO statemachines for i/o handoff #10

Open
borb opened this issue Apr 17, 2022 · 0 comments
Open

PIO statemachines for i/o handoff #10

borb opened this issue Apr 17, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@borb
Copy link
Owner

borb commented Apr 17, 2022

At present, the keyboard and mouse aspects rely entirely on CPU-centric operation. core0 runs the keyboard events and USB stack. During a keyboard event, no USB events are handled at all which could cause latency, and the next USB event is only handled once the keycode is completely sent.

Similarly, though not as intensive as the keycode transmission, mouse events are handled entirely on a loop by core1.

Replacing both of these by independant PIO handlers will offload the CPU aspect and leave the CPU free to handle USB events, possibly decreasing the as-yet-unmeasured latency.

@borb borb added the enhancement New feature or request label Apr 17, 2022
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

1 participant