Homepage Forums RetroPie Project Controller Configuration in RetroPie xbox 360 wireless controller works in UI but not in any emulator Reply To: xbox 360 wireless controller works in UI but not in any emulator

#114451
davidemol
Participant

[quote=114436]Firstly, exit 0 should be the very last line in rc.local, if it’s missing, add it.

The next thing I see that’s wrong is that you need either this:


xboxdrv --trigger-as-button --wid 0 --led 2 --deadzone 4000 --silent &
sleep 1
xboxdrv --trigger-as-button --wid 1 --led 3 --deadzone 4000 --silent &
sleep 1
xboxdrv --trigger-as-button --wid 2 --led 4 --deadzone 4000 --silent &
sleep 1
xboxdrv --trigger-as-button --wid 3 --led 5 --deadzone 4000 --silent &

You may also need to add a line that says rmmod xpad before either of those lines.

[/quote]

I solved with above script!

Thanks a lot my friend!