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

D-pad of x-box 360 controller not working ingame #805

Closed
jagiella opened this issue Apr 19, 2015 · 5 comments
Closed

D-pad of x-box 360 controller not working ingame #805

jagiella opened this issue Apr 19, 2015 · 5 comments

Comments

@jagiella
Copy link

After pulling the recent version of RetroPie-Setup and re-installing all cores, the d-pad of my x-box 360 controller (XEOX Pro Analog) is not working anymore ingame. In emulationstation itself everything works fine. I did several times a controller button reconfiguration in emulationstation as well as by the config script (./retropie_setup.sh), but it doesn't help. The result remains the same: ingame all buttons work except the movement directions (d-pad). I also tried to use the controllers analoge sticks, but without success...

What could be the issue? It seems like my configurations have no imact at all to the configuration the retroarch cores are using at the end.

@HerbFargus
Copy link
Member

I can second this issue- I'm having the same issue with my cheap USB SNES gamepad. These others seem to be having the same problem as well:
http://libretro.com/forums/showthread.php?t=1961

This only happened in the last 3 months or so, before it worked just fine so something in the retroarch code must have broken (perhaps related to autoenable?) The configurations work just fine when implemented manually in the retroarch.cfg file but for some reason it doesn't seem to work with the files created with the autoconfig (perhaps this is more related to joypad-autoconfig https://github.com/libretro/retroarch-joypad-autoconfig ... I don't know.)

(BTW in the meantime until a fix is implemented upstream, this post on the Retropie forums is a workaround that should solve your problem.
http://blog.petrockblock.com/forums/topic/usb-snes-controller-d-pad-not-working-in-games/)

@jagiella
Copy link
Author

Indeed editing the file

/opt/retropie/configs/all/retroarch.cfg

and changing the following lines

# Axis for RetroArch D-Pad.
# Needs to be either '+' or '-' in the first character signaling either positive or negative direction of the axis, then the axis number.
# Do note that every other input option has the corresponding _btn and _axis binds as well; they are omitted here for clarity.
# input_player1_left_axis =
# input_player1_right_axis =
# input_player1_up_axis =
# input_player1_down_axis =

to

# Axis for RetroArch D-Pad.
# Needs to be either '+' or '-' in the first character signaling either positive or negative direction of the axis, then the axis number.
# Do note that every other input option has the corresponding _btn and _axis binds as well; they are omitted here for clarity.
input_player1_left_axis = -0
input_player1_right_axis = +0
input_player1_up_axis = -1
input_player1_down_axis = +1

Fixed the issue!

@inverse
Copy link

inverse commented Apr 25, 2015

I'll have to try this out as I am experiencing the same thing with a cheap usb controller

@inverse
Copy link

inverse commented Apr 25, 2015

Worked for me 👍

Although http://blog.petrockblock.com/forums/topic/usb-snes-controller-d-pad-not-working-in-games/#post-97091 this is a better solution and works for multiple controllers since you're not modifying the main cfg.

@joolswills
Copy link
Member

I believe this isn't an issue now? Please comment if the problem remains with the latest beta.

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