USB gamepad plus more buttons?
-
Hi again, oh very helpful community.
Making a handheld here and I wanted to avoid using GPIO pins for input by using a USB gamepad with plenty of buttons so I'm covered completely. I can even get some DPST buttons for save and load using the simultaneous button configuration scheme.
So I got the Sabrent 12 button thing. It arrived today, and I realized the 3 middle buttons I thought were like start and select etc, are nothing of the sort. They are 'mode', 'turbo' and 'clear'. Meaning, they alter the state of the controller internally, they do not send any signal whatsoever. It turns out this 12 button controller has effectively the same amount of buttons as any other USB gamepad. Therefore I still have to choose if I want select, start or A, B, for example.
Question: Is there a way to get my desired extra buttons without using GPIO pins? I tried using adafruit retro thing and it didn't work. If not, what's the easiest way? keeping in mind I just need a couple more! not an entire gamepad.
-
@diegzumillo said in USB gamepad plus more buttons?:
I just need a couple more! not an entire gamepad
You could get one of the many usb NES pads and map the event codes from its B&A buttons alongside the event codes from your Sabrent into one virtual joystick device using "Linux Joystick Mapper".
Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.
Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.