mholgatem/GPIOnext

Only two inputs work

Closed this issue · 5 comments

This happened with both my arudino joy stick, and a PSP thumbstick I wired myself. For some reason when I try and set an input, only "up" and "left" register.

Can you post some pictures of your wiring or a schematic of what you did?

Sure. Let me know if these are good enough.

Note: I unplugged all the other inputs so don't worry about those.
20230105_213213
20230105_213148
20230105_213037

it looks like you are using something like this: https://www.adafruit.com/product/444
Those won't work with the raspberry pi since it only has digital gpio pins and those are analog.

if you have an arduino that uses the atmega32u4 chip (such as the micro), you can use those joysticks on its analog pins and then configure it to act as an hid device.

Got it. Thank you so much.