Ubuntu 14.04 already includes the latest xboxdrv, which works really great with X360 game controllers (aka joysticks or gamepads), both wired and wireless version, even with Logitech joysticks.

The main issue is: the package with the driver (xboxdrv) just install the driver itself, lacking any configuration.

Thinking about it, I’ve created an Ubuntu package that will configure the driver automatically, adding support until 4 gamepads, and creating a Joysticks entry on System Settings.

To install it, open a terminal (press Ctrl+Alt+T) and run:

sudo apt-add-repository -y ppa:rael-gc/ubuntu-xboxdrv
sudo apt-get update
sudo apt-get install ubuntu-xboxdrv