Skip to content

Conversation

@RetiredWizard
Copy link
Contributor

This PR adds support for keyboards with integrated mice/trackpads. CircuitPython can't use more than on 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 reattached the keyboard device when the game exits.

This PR depends on a pending PR to the adafruit_usb_host_descriptors library so I'm submitting as a draft until the PR gets merged.

@RetiredWizard
Copy link
Contributor Author

Since the Adafruit_CircuitPython_USB_Host_Mouse library does not yet support returning multiple devices, this game doesn't use the library and only depends on the adafruit_usb_host_descriptors library for which the required PR has been merged (although I don't think the update is published to CIRCUP yet).

I'm marking this as ready to merge.

@RetiredWizard RetiredWizard marked this pull request as ready for review December 4, 2025 21:31
Copy link
Collaborator

@FoamyGuy FoamyGuy left a comment

Choose a reason for hiding this comment

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

This looks good to me. I tested it successfully with the new version of usb_host_descriptors inside of FJOS and confirmed combo trackpad keyboard is properly working in the game as a mouse, and in the launcher as a keyboard when switching back and forth between them.

@FoamyGuy FoamyGuy merged commit c3f3ccb into adafruit:main Dec 5, 2025
4 checks passed
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