Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
B and X button give same output
#1
I've just finished my Freeplay Zero build and have a bit of an unusual problem. I think it's probably just a config issue but I can't figure it out.

I'm using the "silicone rubber pad" style of button install, so there were two new holes drilled, above and below the existing A and B button holes. 

When I try to configure the controller, all of the buttons register presses, but the "south" button gives the same output as the "north" button, input 3.

I'm sure it's not a physical problem - I don't see how pressing the "north" button could be actually contacting the "south" contacts without also pressing the "east" and "west" ones. I suspect it's a config file somewhere that has those two buttons giving the same output.

I've had a look in /opt/retropie/configs/all/retroarch-joypads/GPIO Controller 1.cfg 
As far as I can tell, it looks as it should. At least it has different button ids for a, b, x and y.
Code:
input_device = "GPIO Controller 1"
input_driver = "udev"
input_l_btn = "4"
input_load_state_btn = "4"
input_start_btn = "7"
input_exit_emulator_btn = "7"
input_down_axis = "+1"
input_r_btn = "5"
input_save_state_btn = "5"
input_right_axis = "+0"
input_state_slot_increase_axis = "+0"
input_select_btn = "6"
input_left_axis = "-0"
input_state_slot_decrease_axis = "-0"
input_up_axis = "-1"
input_a_btn = "0"
input_b_btn = "1"
input_reset_btn = "3"
input_enable_hotkey_btn = "8"
input_y_btn = "3"
input_x_btn = "2"

Is there another GPIO Controller config file somewhere?
Reply
#2
I would actually assume that there is a soldering "bridge" between 2 pins on your Raspberry Pi Zero. That's my first thought.

Check https://www.freeplaytech.com/support/troubleshooting/ and https://www.freeplaytech.com/wp-content/...cument.pdf
In particular I'd be concerned about pins 10 and 12 maybe having a short between them.

If you could, please post a photo of the solder points on your Pi Zero.
Card Fighters' Clash 2 English Translation ( http://cfc2english.blogspot.com/ )
Neo Geo Pocket Flash Cart and Linker Project ( http://www.flashmasta.com/ )
Avatar art thanks to Trev-Mun ( http://trevmun.deviantart.com/ )
Reply
#3
Sorry for the slow reply, and thanks for the suggestion.

As far as I can tell, I don't have any solder bridges. Here's a photo.

[Image: 14w8whz.jpg]
Reply
#4
I asked my colleague, Andrew, and he jumped to a different conclusion than I had.  I think he could very well be right.

But first, I want to re-iterate (especially for anyone else that comes across this thread) that we have this test document for the Pi Zero at
https://www.freeplaytech.com/wp-content/...cument.pdf
In there, it shows how you can test the connections using a tweezer (or something similar) to try to narrow down these sorts of issues.

As for your issue, Andrew thinks that it may be that you are using the rubber pad configuration and your "NORTH" hole is slightly off center.  That could cause the button press to contact the solder point for the clicky button configuration.  Here are a couple photos.  The first is just pointing at the potentially offending solder point.  The second shows it covered in kapton tape.  I think any tape would probably work for this.

       


P.S.  You have your speaker wires running around toward the battery compartment area.  This may work fine, but it may end up pinching those wires.  We recommend running the wires around the "outsize" of the PCB, as there's not really anything there to pinch them.
Card Fighters' Clash 2 English Translation ( http://cfc2english.blogspot.com/ )
Neo Geo Pocket Flash Cart and Linker Project ( http://www.flashmasta.com/ )
Avatar art thanks to Trev-Mun ( http://trevmun.deviantart.com/ )
Reply
#5
That was it!

A bit of the silicone pad was getting caught by the R shoulder button, which was twisting it off center. Trimming a little and putting some Kapton tape over those points fixed the problem.

Thanks for the suggestions. Fantastic support. I would never have suspected that was what was happening.
Reply
#6
Ahh, good deal. I'll tell Andrew!

Thanks for the update.
Card Fighters' Clash 2 English Translation ( http://cfc2english.blogspot.com/ )
Neo Geo Pocket Flash Cart and Linker Project ( http://www.flashmasta.com/ )
Avatar art thanks to Trev-Mun ( http://trevmun.deviantart.com/ )
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)