GPIO is over my head!

General GBZ-related chat goes here. Share ideas, tips and tricks, or ask questions that don't fit into the hardware/software help forums.
Post Reply
powelly52
Posts: 1
Joined: Sat Oct 22, 2016 3:05 pm

GPIO is over my head!

Post by powelly52 » Sat Oct 22, 2016 3:16 pm

Im trying to use a snes gamepads PCB as a hardwired controller into the Raspi Zero's GPIO pins.

so far i have each button wired to a useable pin and a shared ground wired to the ground.

i have retropie installed and running rom's which work fine with a keyboard inserted.


from what I've read i need a driver to make the GPIO pins register the button presses as inputs for emulation station to read as up down A B Ect.

i have tried retrogame with no luck.. i followed the instructions as best i could and think i did everything to the letter but no luck, none of the buttons wired to the GPIO do anything.

i have just found another driver called mk arcade joystick

but i just dot understand the instructions... at all


can anyone give me an idiots guide to this working?

or link me to a retropie download with it already all installed?

please help me!




https://github.com/recalbox/mk_arcade_j ... the-driver

User avatar
johweb
Posts: 61
Joined: Sun Aug 21, 2016 10:28 pm
Has thanked: 9 times
Been thanked: 7 times

Re: GPIO is over my head!

Post by johweb » Sat Oct 22, 2016 11:21 pm

powelly52 wrote:https://github.com/recalbox/mk_arcade_j ... the-driver
Your link is incomplete so we can't follow it.
Maybe this thread can help : http://www.sudomod.com/forum/viewtopic.php?f=22&t=57

Zero
Posts: 157
Joined: Fri Sep 02, 2016 6:32 pm
Location: Bristol, UK
Has thanked: 11 times
Been thanked: 35 times

Re: GPIO is over my head!

Post by Zero » Mon Oct 24, 2016 11:42 am

Just use Gpioneer.

https://github.com/mholgatem/gpioneer

Follow the simple instructions on that page, and it basically does it all for you.

User avatar
Chedda
Posts: 151
Joined: Fri Sep 16, 2016 3:11 pm
Location: USA (for now)
Has thanked: 29 times
Been thanked: 52 times

Re: GPIO is over my head!

Post by Chedda » Mon Oct 24, 2016 6:58 pm

I used adafruit keyboard press gpio driver called retrograme.

https://learn.adafruit.com/super-game-pi/initial-setup
Builder and tinkerer

User avatar
gb9k
Posts: 5
Joined: Tue Nov 15, 2016 6:10 pm
Has thanked: 4 times
Been thanked: 13 times
Contact:

Re: GPIO is over my head!

Post by gb9k » Tue Nov 15, 2016 10:40 pm

Gpioneer is the business. Quick tip: Run a keyboard through the OTG and run it from there. I couldn't get it to register keypresses while running it from SSH.

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest