I got it working on xbmc using this tutorial“> however that seems to stop it working in Emulation Station. I changed how xboxdrv is loaded so I can boot to ES and choose/play games etc. and then start xbmc and use it fine, but as soon as I exit xbmc I have to SSH and reboot the Pi to regain control of ES.
Need to find some way of stopping xboxdrv when xbmc quits.
This is what I did to get es and xbmc to work with an xbox controller.
You need to have the start.sh and the xbmc.ini files already from the tutorial in the previous post.
Leave the /etc/rc.local file configured to load xboxdrv for es, not xbmc.
All the magic happens in the xbmc.sh file in /home/pi/RetroPie/roms/ports/
Here is my code:
This script ends the xboxdrv process and then runs it with the proper settings for xbmc, then when xbmc quits kills the process again and rus it with the settings needed for es.
I have tested this and it is working for me.