GPIO for game controls

Having trouble with your GBZ build? Ask your questions here!
Post Reply
Desalesdoug
Posts: 10
Joined: Wed Dec 13, 2017 8:30 pm

GPIO for game controls

Post by Desalesdoug » Tue Jan 23, 2018 3:14 pm

Hi,

I’m having a problem with the controls using GPIO on the pi zero. I am using Tinkerboys pi file with everything on it and following the pins he layed out. When I press on the control pad to move a menu it won’t move but if I keep pressing it a ton of times, it will move, but only once. Any suggestions?

User avatar
rodocop
Posts: 1723
Joined: Mon Aug 22, 2016 3:14 pm
Location: Saskatchewan
Has thanked: 606 times
Been thanked: 608 times

Re: GPIO for game controls

Post by rodocop » Tue Jan 23, 2018 9:53 pm

Sometimes you need to put a little shim between the button and the silicone pad. I sometimes use a small peice of plastic.

Also make sure the buttons pads on the board are clean. That may help too.

jakejm79
Posts: 129
Joined: Tue Oct 10, 2017 3:40 pm
Has thanked: 1 time
Been thanked: 33 times

Re: GPIO for game controls

Post by jakejm79 » Wed Jan 24, 2018 2:51 pm

Double check the rc.local file, a couple of times I've had the script add multiple lines at the bottom which has caused similar symptoms to what you are having.

Desalesdoug
Posts: 10
Joined: Wed Dec 13, 2017 8:30 pm

Re: GPIO for game controls

Post by Desalesdoug » Thu Jan 25, 2018 12:42 pm

how do I check that file?

User avatar
rodocop
Posts: 1723
Joined: Mon Aug 22, 2016 3:14 pm
Location: Saskatchewan
Has thanked: 606 times
Been thanked: 608 times

Re: GPIO for game controls

Post by rodocop » Thu Jan 25, 2018 3:15 pm

Desalesdoug wrote:
Thu Jan 25, 2018 12:42 pm
how do I check that file?
for me the file is located in /etc, so i would type

sudo nano /etc/rc.local to access the file and check it. Depending on your build it may be elsewhere.

User avatar
tinkerBOY
Posts: 710
Joined: Tue May 30, 2017 4:00 am
Has thanked: 294 times
Been thanked: 206 times

Re: GPIO for game controls

Post by tinkerBOY » Thu Jan 25, 2018 4:01 pm

Clean the contact pads with eraser.
New! tinkerBOY PowerSwitch v1.0 with Safe Shutdown
Game Boy Zero Controllers available @ tinkerBOY.xyz * Support
tinkerBOY Controller v3.0 - built-in usb controller, usb audio, and usb hub
tinkerBOY Controller v2.0 - GPIO buttons and builtin PWM Audio and Amplifier
tinkerBOY Controller v1.1 - simple pcb button
* DPI Adapter - better display for GBZ
* keyboard converters - IBM XT/AT Soarer's Converter | ADB to USB Converter

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest