A button not working
- PianoHook
- Posts: 12
- Joined: Wed Jul 19, 2017 1:01 pm
- Location: Old Forge, PA
- Has thanked: 1 time
- Been thanked: 1 time
A button not working
On my build, everything works except the A button. The A gpio pin has continuity with the test pad, but the A button still doesn't work. I've heard things about a dead pin but I don't know how to change the pin or what to change it to.
- rodocop
- Posts: 1723
- Joined: Mon Aug 22, 2016 3:14 pm
- Location: Saskatchewan
- Has thanked: 606 times
- Been thanked: 608 times
Re: A button not working
If you do have continuity there may be an issue with the GPIO... So you can change it to many different pins on the pi. If you look here you can see a diagram of the pi. I typically stick with the green pins. Obviously you'll need to use one that is not used in the minty pi.
https://www.sudomod.com/forum/viewtopic.php?t=57
If you change something though, you will need to adjust the retrogame file on /boot to reflect the new GPIO number (Use the GPIO/BCM number, not the physical number). There will be a list of inputs inside the file, with associated GPIO's, just change the A one.
As for the minty pi script, you will need to also adjust the MintyCombo.py (located at /home/pi/MintyComboScript/) to reflect the change. Since the A button is used for the battery toggle. You would need to change this line to whatever new GPIO is used:
monitorBtn = Button(21) --> change 21 to the GPIO number (remember not to use the physical pin number)
You will likely also need to remap the controls in emulationstation as well.
https://www.sudomod.com/forum/viewtopic.php?t=57
If you change something though, you will need to adjust the retrogame file on /boot to reflect the new GPIO number (Use the GPIO/BCM number, not the physical number). There will be a list of inputs inside the file, with associated GPIO's, just change the A one.
As for the minty pi script, you will need to also adjust the MintyCombo.py (located at /home/pi/MintyComboScript/) to reflect the change. Since the A button is used for the battery toggle. You would need to change this line to whatever new GPIO is used:
monitorBtn = Button(21) --> change 21 to the GPIO number (remember not to use the physical pin number)
You will likely also need to remap the controls in emulationstation as well.
_____________________________________________________
My Minty Pi builds:
http://www.sudomod.com/forum/viewtopic.php?f=32&t=3628
My GBZ builds:
http://www.sudomod.com/forum/viewtopic. ... 813#p50813
My modded DMG-01's:
http://www.sudomod.com/forum/viewtopic.php?f=13&t=2696
My NESpi:
http://www.sudomod.com/forum/viewtopic.php?f=13&t=2941
My Gaboze Pocaio's
https://sudomod.com/forum/viewtopic.php?f=13&t=6063
My Minty Pi builds:
http://www.sudomod.com/forum/viewtopic.php?f=32&t=3628
My GBZ builds:
http://www.sudomod.com/forum/viewtopic. ... 813#p50813
My modded DMG-01's:
http://www.sudomod.com/forum/viewtopic.php?f=13&t=2696
My NESpi:
http://www.sudomod.com/forum/viewtopic.php?f=13&t=2941
My Gaboze Pocaio's
https://sudomod.com/forum/viewtopic.php?f=13&t=6063
- PianoHook
- Posts: 12
- Joined: Wed Jul 19, 2017 1:01 pm
- Location: Old Forge, PA
- Has thanked: 1 time
- Been thanked: 1 time
Re: A button not working
I'm sorry. But could you elaborate a bit more? I'm very new to this. How do I change what pin the button goes to? And I cant find /home/pi/MintyComboScript/. What pin do I put the A button on? All the open pins seem to be ground pins. Again I'm sorry for how inexperienced I am.
- rodocop
- Posts: 1723
- Joined: Mon Aug 22, 2016 3:14 pm
- Location: Saskatchewan
- Has thanked: 606 times
- Been thanked: 608 times
Re: A button not working
like I said before, if you change the GPIO, you will need to use SSH to access the pi, and then go to /boot/retrogame.cfg. open that file and change the value after A, it will show a GPIO/BCM number, change that to the new one you choose.PianoHook wrote: ↑Sun Jun 17, 2018 10:16 amI'm sorry. But could you elaborate a bit more? I'm very new to this. How do I change what pin the button goes to? And I cant find /home/pi/MintyComboScript/. What pin do I put the A button on? All the open pins seem to be ground pins. Again I'm sorry for how inexperienced I am.
As for the where to put the A button, reference your minty pi board, and look at all the the pins used every pin used is labelled on the board. Then look at the diagram in the link I provided. Just use one that is not used by the minty pi, and is not ground.
If you can't find /home/pi/MintyComboScript/MintyCombo.py, then maybe it's in another location, I thought that is where it was, but maybe not.
You will also need to physically solder a jumper wire from the new GPIO you choose, to the 'A' button test pad as well.
Hopefully that helps clear things up a bit.
_____________________________________________________
My Minty Pi builds:
http://www.sudomod.com/forum/viewtopic.php?f=32&t=3628
My GBZ builds:
http://www.sudomod.com/forum/viewtopic. ... 813#p50813
My modded DMG-01's:
http://www.sudomod.com/forum/viewtopic.php?f=13&t=2696
My NESpi:
http://www.sudomod.com/forum/viewtopic.php?f=13&t=2941
My Gaboze Pocaio's
https://sudomod.com/forum/viewtopic.php?f=13&t=6063
My Minty Pi builds:
http://www.sudomod.com/forum/viewtopic.php?f=32&t=3628
My GBZ builds:
http://www.sudomod.com/forum/viewtopic. ... 813#p50813
My modded DMG-01's:
http://www.sudomod.com/forum/viewtopic.php?f=13&t=2696
My NESpi:
http://www.sudomod.com/forum/viewtopic.php?f=13&t=2941
My Gaboze Pocaio's
https://sudomod.com/forum/viewtopic.php?f=13&t=6063
- rodocop
- Posts: 1723
- Joined: Mon Aug 22, 2016 3:14 pm
- Location: Saskatchewan
- Has thanked: 606 times
- Been thanked: 608 times
Re: A button not working
did you remap the controls in emulation station after? It should just work...did you make sure to use the BCM/GPIO number, not the physical pin number?, which GPIO did you use by the way?
_____________________________________________________
My Minty Pi builds:
http://www.sudomod.com/forum/viewtopic.php?f=32&t=3628
My GBZ builds:
http://www.sudomod.com/forum/viewtopic. ... 813#p50813
My modded DMG-01's:
http://www.sudomod.com/forum/viewtopic.php?f=13&t=2696
My NESpi:
http://www.sudomod.com/forum/viewtopic.php?f=13&t=2941
My Gaboze Pocaio's
https://sudomod.com/forum/viewtopic.php?f=13&t=6063
My Minty Pi builds:
http://www.sudomod.com/forum/viewtopic.php?f=32&t=3628
My GBZ builds:
http://www.sudomod.com/forum/viewtopic. ... 813#p50813
My modded DMG-01's:
http://www.sudomod.com/forum/viewtopic.php?f=13&t=2696
My NESpi:
http://www.sudomod.com/forum/viewtopic.php?f=13&t=2941
My Gaboze Pocaio's
https://sudomod.com/forum/viewtopic.php?f=13&t=6063
- rodocop
- Posts: 1723
- Joined: Mon Aug 22, 2016 3:14 pm
- Location: Saskatchewan
- Has thanked: 606 times
- Been thanked: 608 times
Re: A button not working
any pics of the wiring etc???
_____________________________________________________
My Minty Pi builds:
http://www.sudomod.com/forum/viewtopic.php?f=32&t=3628
My GBZ builds:
http://www.sudomod.com/forum/viewtopic. ... 813#p50813
My modded DMG-01's:
http://www.sudomod.com/forum/viewtopic.php?f=13&t=2696
My NESpi:
http://www.sudomod.com/forum/viewtopic.php?f=13&t=2941
My Gaboze Pocaio's
https://sudomod.com/forum/viewtopic.php?f=13&t=6063
My Minty Pi builds:
http://www.sudomod.com/forum/viewtopic.php?f=32&t=3628
My GBZ builds:
http://www.sudomod.com/forum/viewtopic. ... 813#p50813
My modded DMG-01's:
http://www.sudomod.com/forum/viewtopic.php?f=13&t=2696
My NESpi:
http://www.sudomod.com/forum/viewtopic.php?f=13&t=2941
My Gaboze Pocaio's
https://sudomod.com/forum/viewtopic.php?f=13&t=6063
- rodocop
- Posts: 1723
- Joined: Mon Aug 22, 2016 3:14 pm
- Location: Saskatchewan
- Has thanked: 606 times
- Been thanked: 608 times
Re: A button not working
First, I don't see an image.
Actually it will be a little tricky without the use of the 'a' button. Since you will need that to actually navigate to the controller remap menu.
Press start to see a menu, there will be a configure controller option, just follow the instructions. But...without the use of the 'a' button you will not be able to get there.
You can try to SSH into the pi and find and open this file /opt/retropie/configs/all/retroarch.cfg
Once inside you will see some lines like this, the things in quotes will be different, but you can at least see if and what 'a' is mapped to. In most cases it will be a keyboard stroke.
# input_player1_a = "x"
# input_player1_b = "z"
# input_player1_y = "a"
# input_player1_x = "s"
# input_player1_start = "enter"
# input_player1_select = "rshift"
# input_player1_l = "q"
# input_player1_r = "w"
# input_player1_left = "left"
# input_player1_right = "right"
# input_player1_up = "up"
# input_player1_down = "down"
Actually it will be a little tricky without the use of the 'a' button. Since you will need that to actually navigate to the controller remap menu.
Press start to see a menu, there will be a configure controller option, just follow the instructions. But...without the use of the 'a' button you will not be able to get there.
You can try to SSH into the pi and find and open this file /opt/retropie/configs/all/retroarch.cfg
Once inside you will see some lines like this, the things in quotes will be different, but you can at least see if and what 'a' is mapped to. In most cases it will be a keyboard stroke.
# input_player1_a = "x"
# input_player1_b = "z"
# input_player1_y = "a"
# input_player1_x = "s"
# input_player1_start = "enter"
# input_player1_select = "rshift"
# input_player1_l = "q"
# input_player1_r = "w"
# input_player1_left = "left"
# input_player1_right = "right"
# input_player1_up = "up"
# input_player1_down = "down"
_____________________________________________________
My Minty Pi builds:
http://www.sudomod.com/forum/viewtopic.php?f=32&t=3628
My GBZ builds:
http://www.sudomod.com/forum/viewtopic. ... 813#p50813
My modded DMG-01's:
http://www.sudomod.com/forum/viewtopic.php?f=13&t=2696
My NESpi:
http://www.sudomod.com/forum/viewtopic.php?f=13&t=2941
My Gaboze Pocaio's
https://sudomod.com/forum/viewtopic.php?f=13&t=6063
My Minty Pi builds:
http://www.sudomod.com/forum/viewtopic.php?f=32&t=3628
My GBZ builds:
http://www.sudomod.com/forum/viewtopic. ... 813#p50813
My modded DMG-01's:
http://www.sudomod.com/forum/viewtopic.php?f=13&t=2696
My NESpi:
http://www.sudomod.com/forum/viewtopic.php?f=13&t=2941
My Gaboze Pocaio's
https://sudomod.com/forum/viewtopic.php?f=13&t=6063
- PianoHook
- Posts: 12
- Joined: Wed Jul 19, 2017 1:01 pm
- Location: Old Forge, PA
- Has thanked: 1 time
- Been thanked: 1 time
Re: A button not working
You have to open the image in a new tab. And what is SSH? Isee that a lot and i dont know what it is. I've tried doing a bit of research and all I found was an alternate way to look at the contents of the sd card. And you keep telling me about things located at /home/pi/MintyComboScript/MintyCombo.py, and /opt/retropie/configs/all/retroarch.cfg and when i put the sd card into my computer the only folders I have are mintypi and overlays. Will SSH let me see folders and files I otherwise couldnt see?
Who is online
Users browsing this forum: No registered users and 1 guest