Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Everything seems to work except the Dpad #17

Closed
ZeroSebastian opened this issue Aug 29, 2018 · 9 comments
Closed

Everything seems to work except the Dpad #17

ZeroSebastian opened this issue Aug 29, 2018 · 9 comments

Comments

@ZeroSebastian
Copy link

ZeroSebastian commented Aug 29, 2018

Image RetroPie 4.4 was used. Everything seemed to work out, I was able to configure every button. But in Emulationstation everything works except the four directions of the Dpad. When I run gpionext test 1 also every single button is recognized. Why does this issue occur?

@mholgatem
Copy link
Owner

Can you give me a little bit more info about your controller and where you are experiencing the problem?

How many joysticks do you have? how many dpads? how many buttons? Did you run the retropie controller config (after configuring with gpionext)?

@ZeroSebastian
Copy link
Author

I started configuring several times with a blank RetroPie image - without any success.
I have one Dpad, A, B, X, Y, Start, Select,R1 and L1 Buttons. When setting up the controller with gpionext config everything is recognized.
But when I run the retropie controller config every button is recognized except for the dpad. The following Pins are used for the Dpad (UP-15, DOWN-11, RIGHT-13, LEFT-16).
when I run the setpins command with my used pins nothing changes at all.

@mholgatem
Copy link
Owner

sorry, I've set it up a couple of times since you posted and can't seem to recreate this issue. I ran it on a fresh install of retropie 4.4

@ZeroSebastian
Copy link
Author

That is really strange... Maybe I make a video of that issue. Could there be any missing ressources?

@mholgatem
Copy link
Owner

yeah, try making a video of the issue. If you could also provide some shots of how you wired your controller as well that would helpful.

@MacGyverr
Copy link

I'm using the same version and a Pi3 and it works fine with Retropie. GPIOs 5,6,12,13,16,19,20,26.
Thank you for your wonderful program. :)

@mholgatem
Copy link
Owner

Great, thanks for the verification! I'm going to close this issue since I haven't heard anything else. I'm glad that you are enjoying the program!

@mjasono
Copy link

mjasono commented Dec 30, 2018

Thought I might reopen this ticket as I have tried everything and searched everywhere for a solution to no avail. I am not sure what Raspberry Pi the OP was using but I am using a Pi Zero W.
I am having the EXACT same issue as OP.

Currently, using Retropi 4.4 fresh image.
pins 8,10,16,18,32,36,38,7,11,13,31,33,37
D-PAD (U,D,L,R), A,B,X,Y, LSH, RSH, Start, Select, and a Hotkey. For both Dpad and ABXY using the PiGRRL button pad REV C (https://www.adafruit.com/product/2934). Everything detects and configures correctly in GPIONEXT. The buttons, including DPAD work in retropi-setup and raspi-config.

Test shows pressing of the UP on the DPAD.
pi@retropie:~ $ gpionext test 1
Press Ctrl + C to exit
Driver version is 2.1.0.
Joystick (GPIOnext Joypad 1) has 2 axes (X, Y)
and 9 buttons (BtnA, BtnB, BtnX, BtnY, BtnTL, BtnTR, BtnSelect, BtnStart, (null)).
Testing ... (interrupt to exit)
Axes: 0: 0 1:-32767 Buttons: 0:off 1:off 2:off 3:off 4:off 5:off 6:off 7:off 8:off

I have tried setting it up with 0 DPADS/JOYSTICKS but it will not detect at al lin the retropie controller config menu.

What DOES work is if I use the keyboard config in GPIONEXT menu, then it will detect all keys as a keyboard ofcourse. I just thought you may want to test this yourself.
x [SPACEBAR]-Check/Uncheck Item [ENTER]-Continue x
x x
x [X] ↑ UP x
x [X] ↓ DOWN x
x [X] ← LEFT x
x [X] → RIGHT x
x [X] ENTER x
x [X] SPACEBAR x
x [ ] LEFT-ALT x
x [ ] LEFT-CTRL x
x [ ] LEFT-SHIFT x
x [ ] RIGHT-ALT x
x [ ] RIGHT-CTRL x
x [ ] RIGHT-SHIFT x
x [ ] TAB x
x [X] A x
x [X] B x
x [ ] C x
x [ ] D x
x [ ] E x
x [ ] F x
x [ ] G x
x [ ] H x
x [ ] I x
x [ ] J x
x [ ] K x
x [ ] L x
x [ ] M x
x [ ] N x
x [ ] O x
x [ ] P x
x [ ] Q x
x [ ] R x
x [ ] S x
x [ ] T x
x [ ] U x
x [ ] V x
x [ ] W x
x [X] X x
x [X] Y x
x [ ] Z x
x [X] 0 x
x [X] 1 x
x [X] 2

Thank you,

Jason (IG: Whatever_Pi)

@mholgatem mholgatem reopened this Dec 31, 2018
@mholgatem
Copy link
Owner

it sounds to me like it isn't so much a problem with GPIOnext, but a problem with your emulation station config, it works when you set it as a keyboard because the keyboard controls are already configured by default in ES. I would set up your GPIOnext controller the way that you want it in GPIOnext config, then go into ES config and reconfigure your controller using the prompts.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants