Homepage › Forums › RetroPie Project › Everything else related to the RetroPie Project › MAME (mame4all-pi) Xbox 360 Wireless controller D-Pad not assignable
- This topic has 8 replies, 6 voices, and was last updated 9 years, 9 months ago by retrocam.
-
AuthorPosts
-
08/21/2014 at 09:33 #39718retrocamParticipant
When I press TAB and go to assign controls in MAME I can’t choose the D-Pad for UP, DOWN, LEFT and RIGHT. Other buttons and the analog sticks seem to be fine. Anyone know how to fix this please?
I noticed someone mentioned after they added the exit hot key and joystick button in retroarch.cfg that they lost D-Pad in MAME (this doesn’t fully make sense to me as MAME doesn’t use Retroarch. Just to make sure I tried removing it from retroarch.cfg with no change.
10/08/2014 at 04:29 #81605ryo99ParticipantSame here. All buttons work in MAME besides D-PAD. Wired XBOX360 controller.
12/08/2014 at 09:35 #83420AnonymousInactiveAny fix for this yet? I have the same issue and have found nothing to fix it in the forums and google.
02/11/2015 at 15:48 #87019labelwhoreParticipantI’d like to get the D-Pad working in MAME as well. Like the other posters, I haven’t found a fix.
02/11/2015 at 17:09 #87024Jassen PayenParticipantI’ve had this problem as well on my RPi 2, which I think is due to the D-Pad configured as ‘h0’ (hat up, down left or right).
When the xbox wireless controller was configured without the specific settings to load in the driver, and set the LED on startup, the D-Pad would work, however and the analogue stick was actually recognized as having an axis, so this stopped working.
I find that to exit mame, I just hold the ‘back’ button, and press the left shoulder button. This gets me out of most of the retroarch emulators. I will try this out again later today.
02/11/2015 at 17:24 #87025labelwhoreParticipantIf I could replace the analog stick functionality with the D-Pad in MAME, that would actually work for me. What I’m trying to do is get a custom arcade stick I made from a couple Xbox 360 controllers to work in MAME. (I wired the sticks to the D-Pad.) I’ve configured all other emulators to use the D-Pad, MAME is the only one I have left to set up the same way.
02/11/2015 at 18:48 #87031labelwhoreParticipantHmmm… Question, are you guys using option 1 from here?
https://github.com/retropie/RetroPie-Setup/wiki/Setting-up-the-XBox360-controllerAt first glance, option 3 looks like it may make the D-Pads work better than the other two options. I’m currently using option 1. Any thoughts?
02/11/2015 at 19:52 #87038retrofreddeParticipantI had trouble getting my arcade stick working too, which could be similar to the Dpad since they’re basically the same, and the fix for me was adding these lines to the xboxdrv line in /etc/rc.local
–detach-kernel-driver
–dpad-as-button
Then I just had to remap the controls in Mame4allpi by pressing TAB and edit the general input and all games could be controlled with the stick.03/01/2015 at 01:12 #89657retrocamParticipant[quote=87031]Hmmm… Question, are you guys using option 1 from here?
https://github.com/retropie/RetroPie-Setup/wiki/Setting-up-the-XBox360-controllerAt first glance, option 3 looks like it may make the D-Pads work better than the other two options. I’m currently using option 1. Any thoughts?
[/quote]
I have installed the xbox 360 wireless drivers from the script retropie_setup.sh. Then etc/rc.local has:xboxdrv --daemon --id 0 --led 2 --deadzone 4000 --silent --trigger-as-button --next-controller --id 1 --led 3 --deadzone 4000 --silent --trigger-as-button --dbus disabled --detach-kernel-driver & exit 0 xboxdrv --trigger-as-button --wid 0 --led 2 --deadzone 4000 --silent & sleep 1
I’m not exactly sure if I added that or it did it with the script. I also blacklisted xpad in /etc/modprobe.d/raspi-blacklist.conf as I was trying to fix up the constant chasing/blinking LED’s on my controller. This also removes the green text that appears when you start a RetroArch emulator which was annoying me.
[quote=87038]I had trouble getting my arcade stick working too, which could be similar to the Dpad since they’re basically the same, and the fix for me was adding these lines to the xboxdrv line in /etc/rc.local
–detach-kernel-driver
–dpad-as-button
Then I just had to remap the controls in Mame4allpi by pressing TAB and edit the general input and all games could be controlled with the stick.[/quote]
I attempted to add -dpad-as-button. Can’t seem to get it to work. I noticed that all the other settings are — so I tried –-dpad-as-button in various places with no luck. -
AuthorPosts
- The forum ‘Everything else related to the RetroPie Project’ is closed to new topics and replies.