Easy way to setup the controller buttons via GPIO

Various user-contributed guides for software-related things
User avatar
firestw152
Posts: 79
Joined: Mon Mar 06, 2017 5:14 pm
Has thanked: 22 times
Been thanked: 3 times

Re: Easy way to setup the controller buttons via GPIO

Post by firestw152 » Tue Jul 25, 2017 6:44 pm

Hey so I wanna try the GPIO audio again can you tell me more about picture B? like what is connected to A+ and A- on the adafruit amp?

User avatar
tinkerBOY
Posts: 700
Joined: Tue May 30, 2017 4:00 am
Has thanked: 293 times
Been thanked: 199 times

Re: Easy way to setup the controller buttons via GPIO

Post by tinkerBOY » Tue Jul 25, 2017 9:38 pm

firestw152 wrote:
Tue Jul 25, 2017 6:44 pm
Hey so I wanna try the GPIO audio again can you tell me more about picture B? like what is connected to A+ and A- on the adafruit amp?
A+ can be directly connected to a PWM pin like GPIO18
A- connect to ground
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

Firecakes
Posts: 4
Joined: Thu Aug 10, 2017 9:28 pm

Re: Easy way to setup the controller buttons via GPIO

Post by Firecakes » Sat Sep 16, 2017 8:11 pm

Having trouble with the download. when I try to unzip, it get an error message that the file "does not appear to be a valid archive"

any thoughts?

User avatar
tinkerBOY
Posts: 700
Joined: Tue May 30, 2017 4:00 am
Has thanked: 293 times
Been thanked: 199 times

Re: Easy way to setup the controller buttons via GPIO

Post by tinkerBOY » Sat Sep 16, 2017 8:53 pm

Firecakes wrote:
Sat Sep 16, 2017 8:11 pm
Having trouble with the download. when I try to unzip, it get an error message that the file "does not appear to be a valid archive"

any thoughts?
What software are you using to unzip it?

Try 7zip.
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

Firecakes
Posts: 4
Joined: Thu Aug 10, 2017 9:28 pm

Re: Easy way to setup the controller buttons via GPIO

Post by Firecakes » Sat Sep 16, 2017 10:02 pm

wow. welp, that did it. shame on winzip.

Stek692003
Posts: 16
Joined: Mon May 29, 2017 4:54 pm
Has thanked: 6 times

Re: Easy way to setup the controller buttons via GPIO

Post by Stek692003 » Fri Oct 13, 2017 11:43 am

Having trouble, please can someone help.

I can't copy the "Adafruit-Retrogame" folder into "/home/pi".

I've tried to add it to samba share but failed? Can I just download this folder on the pi without using a pc

User avatar
tinkerBOY
Posts: 700
Joined: Tue May 30, 2017 4:00 am
Has thanked: 293 times
Been thanked: 199 times

Re: Easy way to setup the controller buttons via GPIO

Post by tinkerBOY » Fri Oct 13, 2017 7:58 pm

Stek692003 wrote:
Fri Oct 13, 2017 11:43 am
Having trouble, please can someone help.

I can't copy the "Adafruit-Retrogame" folder into "/home/pi".

I've tried to add it to samba share but failed? Can I just download this folder on the pi without using a pc
Yes you can copy the folder any way you can.
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
firestw152
Posts: 79
Joined: Mon Mar 06, 2017 5:14 pm
Has thanked: 22 times
Been thanked: 3 times

Re: Easy way to setup the controller buttons via GPIO

Post by firestw152 » Sun Oct 22, 2017 11:58 am

tinkerBOY wrote:
Fri Oct 13, 2017 7:58 pm
Stek692003 wrote:
Fri Oct 13, 2017 11:43 am
Having trouble, please can someone help.

I can't copy the "Adafruit-Retrogame" folder into "/home/pi".

I've tried to add it to samba share but failed? Can I just download this folder on the pi without using a pc
Yes you can copy the folder any way you can.
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.

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 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.

User avatar
firestw152
Posts: 79
Joined: Mon Mar 06, 2017 5:14 pm
Has thanked: 22 times
Been thanked: 3 times

Re: Easy way to setup the controller buttons via GPIO

Post by firestw152 » 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.

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest