Disable "old" kernel driver:
Modify /etc/modprobe.d/raspi-blacklist.conf and add line:
Code: Select all
blacklist xpad
You can install the XB360 driver using the retropie_setup script. Run the script like this:
Code: Select all
sudo /home/pi/RetroPie-Setup/retropie_setup.sh
The driver installation should be pretty quick and should not require more manual intervention at this point. When the driver is installed, quit the setup script.
Modify config files:
/etc/rc.local
Code: Select all
# Print the IP address
_IP=$(hostname -I) || true
if [ "$_IP" ]; then
printf "My IP address is %s\n" "$_IP"
fi
# --- probably some old config, comment it out --- xboxdrv --daemon --id 0 --led 2 --deadzone 4000 --silent --trigger-as-button --next-controller --id 1 --led 3 --deadzone 4000
# Add one line per controller, if controllers are wireless, id becomes wid:
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
exit 0
Reboot the Retropie