Skip to content

raelgc/ubuntu_xboxdrv

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 

Repository files navigation

Ubuntu xboxdrv Integration

This package provides additional configurations over xboxdrv driver.

Unlike stock xpad kernel driver, xboxdrv provides a wide variety of configuration options: it allows you to simulate keyboard and mouse events, remap buttons and axes, apply autofire, invert axis, tweak axis sensitivity, emulate throttle and rudder controls and send macros.

But while xboxdrv is included in its last version on Ubuntu 14.04, it lacks additional configuration to get it properly working.

This package adds additional configurations over xboxdrv:

  • Clear broken configurations;
  • Properly configure a upstart service;
  • Manage xboxdrv service on System suspend/resume;
  • Add support for user options at /etc/default/xboxdrv;
  • Start with support for 4 joysticks;
  • Add a "Joysticks" entry into System Settings panel;
  • Easy ForceFeeback activation.

Install

To install (and automatically) start this service, open a terminal and run:

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

Start/stop the job

The xboxdrv job is already started when the package is installed. But, if for some reason, you need to restart it, run in terminal:

sudo service xboxdrv restart

Force Feedback

To enable force feedback, as sudo edit the /etc/default/xboxdrv file and change FORCE_FEEDBACK to true.

Then, restart the service: sudo service xboxdrv restart.

One important note: force feedback has problems with wine games.

Triggers

By default, triggers are not enabled as z-axis, but as buttons. To change, edit /etc/default/xboxdrv and change TRIGGERS_AS_BUTTONS to false.

If you intend to use XBMC (at least version 13), set TRIGGERS_AS_BUTTONS to false. Maybe this option should also be false for Kodi 14 and 15.

Additional Configurations Options

You can edit /etc/default/xboxdrv and add more configurations to xboxdrv.

To see a list of available configurations, please, check xboxdrv options page.

PS3 dualshock

Some games supports only the X360 gamepad, but xboxdrv can force system to get Playstation 3 dualshock recognized as a X360 gamepad.

If you'll connect by wireless (i.e., not wired by USB), please, first pair your dualshock by Bluetooth.

Uninstall

To uninstall, please use purge to remove the xpad stock driver from blacklist:

sudo apt-get purge ubuntu-xboxdrv