Question Analog joystick (raspberry pi)

Joined
Jul 23, 2020
Messages
3
Likes
0
Hi, I'm trying to build a portable console by using raspberry pi 4, and I want to connect analog sticks to it.
Is there a way how to connect an analog joystick(preferable from the Switch or Vita) to GPIO pins? or maybe something like a connector to USB?
Thanks in advance.
 
Joined
Jan 18, 2020
Messages
43
Likes
10
You may need to connect the joy sticks/buttons to a a microcontroller, then plug that into the rp4's USB, if you use an Arduino Micro, you can use dmcke code for it https://github.com/dmcke5/Ardupad. It's very good and easy to use.
 
Top