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

pico: 8BitDo Zero 2 HID mapping #832

Merged
merged 3 commits into from
Aug 30, 2023
Merged

Conversation

Daft-Freak
Copy link
Collaborator

  • extra code to handle not having a dpad and mapping the stick to the dpad. Tested on the picovision-and-everything-else branch.

(The other controller is probably going to involve a tinyusb issue...)

Should avoid reformatting the table whenever something is missing a new button
@Gadgetoid
Copy link
Contributor

Haha, I hope you had fun with those 😬

Only suitable controllers we had, really :( need something custom that does Bluetooth LE HID over GATT and some sensible USB HID.

@Daft-Freak
Copy link
Collaborator Author

Could probably hack something together with a pico w and existing controller parts... 🤔

Also, forgot that I had this as a fallback: https://github.com/Daft-Freak/picosystem-gamepad

@Gadgetoid
Copy link
Contributor

Fair point a Pico W could actually be both a USB HID controller and a HID-over-GATT-profile controller.

I wonder if there are off-the-shell shell parts we could just make a PCB for 🤔

@Daft-Freak
Copy link
Collaborator Author

Turns out we don't need the last commit, just hold up+select for 5 seconds. (It's in the FAQs that I definitely didn't just read.)

But also:

Can I use this controller via the USB connection?

No, you can not. The USB connection is for firmware upgrade and power charging only.

Pretty sure that I just did. 🤷

@Daft-Freak
Copy link
Collaborator Author

Also rebased the PicoVision PR on top of this, should be able to grab the artefacts from there.

(Current status of the other controller: hathach/tinyusb#2163)

@Daft-Freak Daft-Freak merged commit ba121b2 into 32blit:master Aug 30, 2023
8 checks passed
@Daft-Freak Daft-Freak deleted the hid-zero2 branch August 30, 2023 15:06
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