-
Notifications
You must be signed in to change notification settings - Fork 69
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: HID input #769
pico: HID input #769
Conversation
Sooo when's your tiny homebrew Pico TV games console coming out? 😆 |
Maybe when I find some gamepads that behave. 😆 (VGA/DVI board + OTG adapter, done!) |
Requires Pico SDK 1.3.0+. Only tested on the two non-xbox controllers I could find.
This works most of the time.
Seems more reliable with the new pico-sdk. Also added keyboard support. |
OOoh, that's good news! |
Still the same two devices working, but I can now switch them (+ a keyboard) around repeatedly without the pico crashing/resetting. Also, hubs and multiplayer fun: https://fosstodon.org/@Daft_Freak/109926331926726469 |
Slightly modified hardware-test (displays raw button info at the bottom) |
Considering this doesn't affect PicoSystem at all, is there any reason I shouldn't just merge this? (I've got some USB/multiplayer bits sort-of blocked by this...) |
I can't think of a particularly strong reason not to (although, does that imply that you could in theory plug a keyboard into a PicoSystem?) |
32blit support for PicoSystem is "unofficial" so I'm okay with it implying things we don't actually support, This feature may benefit certain other Pico-based projects in the pipeline 😆 |
If you change the board config I guess, but you'd lose the buttons... (USB role is a build-time config here, also you only get one input "driver") EDIT: oh, and the port isn't powered... |
Hmm, yes someone should stop adding support for random things... 😆 But uh, what does "official support" even mean now? |
Now to wait for a "my device doesn't work"/"the buttons are mapped wrong"! |
Just got a pimoroni VGAdemo board, Yay, my device DOES work ( Logitech F710) and buttons mapped ok using D mode👌 |
(Opening this so I don't keep forgetting about it)
USB HID based input for VGA. Draft because I only tested it on three controllers (one of them doesn't work for some reason). Could use some testing on some "common" gamepads (but not xbox stuff as they don't do HID... sigh)
What does work is flashing this uf2 to a PicoSystem
Edit: Patch to hardware-test for testing Daft-Freak@4865029