Skip to content

Conversation

@RetiredWizard
Copy link
Contributor

@RetiredWizard RetiredWizard commented Jan 21, 2026

These changes to the Larsio_Paint_Music program allow it to search for non-boot (report) mice if no boot mice are found.

This adds support for keyboards with integrated mice/trackpads. CircuitPython can't use more than one device on a combination keyboard/pointing device at the same time, but this update allows the pointing device to be used during the game and then reattach the keyboard device when the game exits. An atexit callback was added to switch control back to the keyboard when a non-boot mouse was configured for use with the application.

An exit button was added onto the UI so that the application could be exited if there was no keyboard present.

When the program exits, a supervisor.reload() is called so that when run on Fruit Jam OS it returns control back to the OS.

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