Easy way to setup the controller buttons via GPIO

Various user-contributed guides for software-related things
snoek09
Posts: 145
Joined: Sat May 20, 2017 3:06 am
Location: Amsterdam, The Netherlands
Has thanked: 48 times
Been thanked: 43 times

Re: Easy way to setup the controller buttons via GPIO

Post by snoek09 » Sun Oct 22, 2017 2:19 pm

Can you post your retrogame.cfg here? I did an install with a different retrograme today and it is working fine.

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

Re: Easy way to setup the controller buttons via GPIO

Post by tinkerBOY » Sun Oct 22, 2017 4:51 pm

firestw152 wrote:
Sun Oct 22, 2017 2:02 pm
snoek09 wrote:
Sun Oct 22, 2017 12:45 pm
firestw152 wrote:
Sun Oct 22, 2017 11:58 am
Is there a way to change the GPIO number after I ran the script? I accidentally set start and A as the same button as 23 and now I switch start to another pin but its acts as the same pin after I reboot.
tinkerBOY wrote:
Sat Jul 08, 2017 12:46 am
If you have different GPIO pin assigments then you can edit the file retrogame.cfg to suit your needs.
First post of topic has all instructions.
And as I said in my post changing that did not work.

Edit /boot/retrogame.cfg

Or

"Configure Input" from emulationstation
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

NewBuilderMaker
Posts: 12
Joined: Sun Oct 22, 2017 9:28 am
Has thanked: 7 times

Re: Easy way to setup the controller buttons via GPIO

Post by NewBuilderMaker » Tue Nov 21, 2017 10:24 am

Question: I followed another sudomod poster's wiring diagram and would like to edit my configuration. My only issue is when I try to edit my cfg file it's totally blank. I don't know if it just didn't include anything in said file or if I got a bad install file or something else entirely. Is there anyway to edit my pins or am I SOL and need to do a completely new install?

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

Re: Easy way to setup the controller buttons via GPIO

Post by tinkerBOY » Tue Nov 21, 2017 4:24 pm

Just follow the instruction in the first post and edit Edit /boot/retrogame.cfg.
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

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

Re: Easy way to setup the controller buttons via GPIO

Post by tinkerBOY » Tue Dec 26, 2017 7:24 am

Post updated:

Method 2: Just download a RetroPie image with pre-installed Adafruit Retrogame utility.
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

lightpixel
Posts: 46
Joined: Tue Nov 21, 2017 4:50 am
Has thanked: 8 times
Been thanked: 31 times

Re: Easy way to setup the controller buttons via GPIO

Post by lightpixel » Fri Jan 26, 2018 1:28 am

Hello Tinkerboy,

I´ve tried your first method and there are some issues...
Buttons works in Emulatorstation, but not in the retropie "config area"...
With your second method - installing your complete image - everthing´s ok...
Whats the érror in the first method?
BTW, I´ve ordered two of your PCB´s... :-)

best regards
chris

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

Re: Easy way to setup the controller buttons via GPIO

Post by tinkerBOY » Fri Jan 26, 2018 4:13 am

lightpixel wrote:
Fri Jan 26, 2018 1:28 am
Hello Tinkerboy,

I´ve tried your first method and there are some issues...
Buttons works in Emulatorstation, but not in the retropie "config area"...
With your second method - installing your complete image - everthing´s ok...
Whats the érror in the first method?
BTW, I´ve ordered two of your PCB´s... :-)

best regards
chris
Hi lightpixel,

What do you mean by "config area"?
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

lightpixel
Posts: 46
Joined: Tue Nov 21, 2017 4:50 am
Has thanked: 8 times
Been thanked: 31 times

Re: Easy way to setup the controller buttons via GPIO

Post by lightpixel » Fri Jan 26, 2018 4:47 am

This area in retropie where wifi/raspiconfig/retropieconfig ...etc will be adjust..

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

Re: Easy way to setup the controller buttons via GPIO

Post by tinkerBOY » Fri Jan 26, 2018 4:52 am

lightpixel wrote:
Fri Jan 26, 2018 4:47 am
This area in retropie where wifi/raspiconfig/retropieconfig ...etc will be adjust..
Ok i will look into that.
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