You must swich-on your pads before booting the raspberry. (replace the -wid by -id if you use wired controllers) Xboxdrv -trigger-as-button -wid 3 -led 5 -deadzone 4000 -silent & Xboxdrv -trigger-as-button -wid 2 -led 4 -deadzone 4000 -silent &
Xboxdrv -trigger-as-button -wid 1 -led 3 -deadzone 4000 -silent & Here is an example of what to insert in /etc/rc.local for 4 wireless pads (put this just before exit 0): xboxdrv -trigger-as-button -wid 0 -led 2 -deadzone 4000 -silent & You have to launch multiple instances of xboxdrv (one for each controller)įor example we can edit the file /etc/rc.local to start instances of xboxdrv during boot Then you must choose one of the 3 methods below 1 - Multiples instances of xboxdrv Install it by running sudo apt install xboxdrv On older RetroPie images you can install the Debian package. RetroPie 3.3 contains a newer xboxdrv at /opt/retropie/supplementary/xboxdrv/bin/xboxdrv - which is preferable over the older Debian package.
#Ubuntu install xbox 360 controller driver
Remove dwc_otg.speed=1 from /boot/config.txt: Removes the config.Īfter you have enabled the driver and rebooted you'll need to reconfigure your controller(s) in EmulationStation as described on the first installation pageĪlternatively if you prefer you can manually install it.Set dwc_otg.speed=1 in /boot/config.txt: May help if controller is being glitchy.Set Analog Stick Deadzone: Smaller number = more responsive, Larger number = less responsive.Set Number of Controllers To Enable: Default number of controllers is 2 (If you have more than two controllers, set this first before you enable xboxdrv).Disable xboxdrv: This will disable the driver and remove the start-up configuration in /etc/rc.local.Enable xboxdrv: This will install the driver and add a start-up configuration in /etc/rc.local.When used this way, it's even possible for both xpad and xboxdrv to coexist together.Īccess the RetroPie Setup Script and navigate to Manage Packages > Manage Driver Packages > xboxdrv
However, these incompatibilities are not an issue when using xboxdrv as a calibration and key-mapping tool for almost any gamepad, including the Xbox 360 controller. As such, the xpad drive is currently the best option to simply make an Xbox 360 controller operational in RetroPie. Note! There are known incompatibilities with this driver when used in it's default configuration with the latest kernel. Reboot for good measure, reconfigure your controllers and the lights should work properly.Ī complete working config (that was generated from the EmulationStation configuration) is listed below at /opt/retropie/configs/all/retroarch-joypads/Xbox360WirelessReceiver(XBOX).cfg input_device = "Xbox 360 Wireless Receiver (XBOX)" You access the driver through Manage Packages > Manage Driver Packages > Xpad Driver and you'll install it from source. With the recent kernel issues of xboxdrv rendering images unusable, there is an updated xpad driver which will work just as well for Xbox controllers, it's possible it may also support Xbox One controllers. Starting with the RetroPie 4.1 SD image, the Xpad driver is enabled by default and the following steps are unnecessary.