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

Queue mouse events and fix an USB device enumeration bug #19

Merged
merged 3 commits into from
Nov 29, 2023
Merged

Conversation

morio
Copy link
Collaborator

@morio morio commented Nov 29, 2023

This now queues mouse events which is synchronized between the two cores on QuokkADB.
It also seems to fix a bug where USB devices occasionally do not get enumerated .

For QuokkADB this is a test of queuing mouse events to see if
any get missed due to timing between the ADB and USB processing
cores.

It also includes a fix to outputting log messages over the SWO line.
The mouse now ignores any queued events besides the most recent
or if the is a button status change.

There is still work that needs to be done before release.
 - It needs to built against ABDuino
 - Resetting the mouse events has not been implemented
This resets the mouse event queue when the ADB bus sends a reset
command.

The code base now successfully compiles the ADBuino target.
@morio morio merged commit d5c6c6b into master Nov 29, 2023
2 checks passed
@morio morio deleted the mouse-queue branch November 29, 2023 20:14
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.

1 participant