Page 1 of 1

MintyPI V2 "MODE" Button Help

Posted: Fri Mar 22, 2019 4:56 pm
by Apple_Juuce
So I added the mode button to my MintyPi V2, and sometimes the menu that pops up when you press the "MODE" button (the menu that shows you what it will do when you press a certain button and it at the same time) it will just keep popping up again and again on it's own without me even pressing it once. Does anyone know why this might be happening and how to fix it? Any responses would be much appreciated.

Re: MintyPI V2 "MODE" Button Help

Posted: Fri Mar 22, 2019 7:51 pm
by rodocop
Is the button sticking a bit? Maybe it's always slightly pressed?

Re: MintyPI V2 "MODE" Button Help

Posted: Mon Mar 25, 2019 10:55 pm
by Apple_Juuce
rodocop wrote:
Fri Mar 22, 2019 7:51 pm
Is the button sticking a bit? Maybe it's always slightly pressed?
I though I fixed it when switching out the wires but when I just used it, the menu wouldn't stop popping up again. Also the button doesn't seem to be pressed in because it is still "clicky". Any other ideas as to why this might be happening?

Re: MintyPI V2 "MODE" Button Help

Posted: Tue Mar 26, 2019 7:32 am
by rodocop
You could check the gpios around the function button gpio, make sure there is nothing shorted together.

Got any pics if the button wiring? Does it happen with the minty pi is closed up, or when it is opened (ie not screwed down). Maybe when you close it up the button or wiring is pressing on something causing issues?

Re: MintyPI V2 "MODE" Button Help

Posted: Fri Mar 29, 2019 8:47 pm
by Apple_Juuce
rodocop wrote:
Tue Mar 26, 2019 7:32 am
You could check the gpios around the function button gpio, make sure there is nothing shorted together.

Got any pics if the button wiring? Does it happen with the minty pi is closed up, or when it is opened (ie not screwed down). Maybe when you close it up the button or wiring is pressing on something causing issues?
The button was giving me too many problems such I just decided to take it off the PCB. But when it was glitching I turned off the battery monitor. Do you know if there’s anywhere to toggle it manually?

Re: MintyPI V2 "MODE" Button Help

Posted: Sat Mar 30, 2019 1:10 pm
by rodocop
If you are using the minty pi image. You can remap the function button to any other button.

Then you can use the function + a button to toggle the battery icon on/off.

If you look in the boot directory there should be a pinfile.txt, (/boot/mintyPi/pinfile.txt) in there you will see 7 which corresponds to the function gpio. Edit the file and change it to another gpio (like L, change from 7 to 12 and save).

In my past minty pi builds I did not add a seperate function button, I just made L the function. Also FYI L is GPIO 12

And here are the rest

LEFT 14 # Joypad left
RIGHT 22 # Joypad right
UP 4 # Joypad up
DOWN 5 # Joypad down
LEFTCTRL 21 # 'A' button
LEFTALT 16 # 'B' button
Z 26 # 'X' button
X 20 # 'Y' button
SPACE 15 # 'Select' button
ENTER 19 # 'Start' button
A 12 # Left shoulder button
S 6 # Right shoulder button
#ESC 17 # Exit ROM; PiTFT Button 1

Re: MintyPI V2 "MODE" Button Help

Posted: Sun Mar 31, 2019 9:40 pm
by Apple_Juuce
If you change a button like L to the function button, it won’t be able to function as an L button anymore correct?

Re: MintyPI V2 "MODE" Button Help

Posted: Mon Apr 01, 2019 6:27 am
by Helder
I still functions as the L button it just has the extra feature of being used as the Mode button also.

Re: MintyPI V2 "MODE" Button Help

Posted: Mon Apr 01, 2019 3:56 pm
by Apple_Juuce
Ok thanks, I’ll have to check that out