Homepage › Forums › RetroPie Project › Everything else related to the RetroPie Project › MAME (mame4all-pi) Xbox 360 Wireless controller D-Pad not assignable › Reply To: MAME (mame4all-pi) Xbox 360 Wireless controller D-Pad not assignable
[quote=87031]Hmmm… Question, are you guys using option 1 from here?
https://github.com/retropie/RetroPie-Setup/wiki/Setting-up-the-XBox360-controller
At 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.