Homepage Forums RetroPie Project Everything else related to the RetroPie Project A guide for adding xbmc with working wireless 360 to RetroPie. Reply To: A guide for adding xbmc with working wireless 360 to RetroPie.

#92367
supernashwan
Participant

I have since discovered that if you run an executable at the end of the xboxdrv command, it will automatically shut down the driver when you exit that executable.

here is the new kodi.sh to go in ports

#!/bin/bash
sudo /etc/init.d/xboxdrv stop
sleep 2
sudo /usr/bin/xboxdrv --config /home/pi/kodi.ini --silent --autofire RT=25 --autofire LT=25 --autofire du=200 --autofire dd=200 --autofire dl=500 --autofire dr=500 kodi-standalone
sudo /etc/init.d/xboxdrv start

much cleaner