mholgatem / GPIOnext

The next evolution of GPioneer! Create virtual gamepads with your GPIO pins!
MIT License
134 stars 37 forks source link

Only two inputs work #78

Closed Riky568 closed 1 year ago

Riky568 commented 1 year ago

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.

mholgatem commented 1 year ago

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

Riky568 commented 1 year ago

Sure. Let me know if these are good enough.

Riky568 commented 1 year ago

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

mholgatem commented 1 year ago

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.

Riky568 commented 1 year ago

Got it. Thank you so much.