PiGRRL D-Pad issue

General project help for Adafruit customers

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
dnelms
 
Posts: 19
Joined: Tue Jul 22, 2014 3:03 pm

PiGRRL D-Pad issue

Post by dnelms »

Im having an strange issue with the D-Pad, once the system boots up in to Gamera the depad works fine and I am able to move around and select a game. However once a game is loaded the D-Pad no longer functions.
I've tried moving the rubber pads around and even tried and shorted the buttons manually but they don't work.

I did note however that the A, B, select, and start buttons work fine.

I also noted that I CAN control the game if I connect a USB keyboard and use the keyboard arrows. This leads me to believe it has something to do with the mapping of keys in the NES emulator.

Thoughts?

User avatar
dnelms
 
Posts: 19
Joined: Tue Jul 22, 2014 3:03 pm

Re: PiGRRL D-Pad issue

Post by dnelms »

Update: I have also tried to reconfigure the mapping via the command line using the command
fceu -inputcfg gamepad1 romfile.nes
Unfortunately I have found that the system hangs each time I try this.

I checked the connections and re-soldiered the wires, and also checked the wires for continuity and it all checks out OK.
I have tried manually triggering the buttons via connecting the button ground directly to the input pins also without success.

So now I know that the connection is being made, but is not being interpreted correctly by fceu.
Am I the only one having this issue? Perhaps my files are corrupted?

User avatar
pburgess
 
Posts: 4161
Joined: Sun Oct 26, 2008 2:29 am

Re: PiGRRL D-Pad issue

Post by pburgess »

Haven't observed this. Do MAME games function any better/worse/different? Wondering if it's in the NES emulation or something in the gamera spawnage.

Have you made any software config changes? What revision of Raspberry Pi is involved? V2 (with the two mounting holes) or an older V1 board (no mounting holes)?

User avatar
dnelms
 
Posts: 19
Joined: Tue Jul 22, 2014 3:03 pm

Re: PiGRRL D-Pad issue

Post by dnelms »

I have not yet tried any MAME games. The only config change I made was to flip the screen from vertical to horizontal otherwise it's a vanilla install of your picade package.

The PI I am using is a version 1 (no mounting holes).

I will attempt to load some MAME roms and see if the left/right buttons function within those games.

User avatar
dnelms
 
Posts: 19
Joined: Tue Jul 22, 2014 3:03 pm

Re: PiGRRL D-Pad issue

Post by dnelms »

Checked via running MAME, buttons A, Left, and Right do not function.

I bridged the control ground to the GPIO pins for these buttons and still nothing.
Could my pi be bad?

User avatar
pburgess
 
Posts: 4161
Joined: Sun Oct 26, 2008 2:29 am

Re: PiGRRL D-Pad issue

Post by pburgess »

Pi's fine! It's a software issue that only affects V1 boards. Here's an explanation of a workaround:

http://forums.adafruit.com/viewtopic.ph ... 55#p270779

User avatar
dnelms
 
Posts: 19
Joined: Tue Jul 22, 2014 3:03 pm

Re: PiGRRL D-Pad issue

Post by dnelms »

That did the trick, thanks a lot!

User avatar
dnelms
 
Posts: 19
Joined: Tue Jul 22, 2014 3:03 pm

Re: PiGRRL D-Pad issue

Post by dnelms »

That did it thanks so much!

Locked
Please be positive and constructive with your questions and comments.

Return to “General Project help”