Saitek X52/X52pro userspace driver for Unix/Linux
 
 
 
 
 
Go to file
nirenjan 6d8d5a4fd4 Fix return from void function
While gcc on Linux (Travis CI) throws a warning, but otherwise ignores
this return value from void function, clang on OSX throws a fit.
2016-10-08 09:44:44 -07:00
cli Fix return from void function 2016-10-08 09:44:44 -07:00
docs Move spec documents under docs folder 2015-12-02 08:29:45 -08:00
kernel_module Add README for kernel module 2015-12-01 08:29:12 -08:00
libx52 Use zero instead of LIBUSB_ERROR_OTHER as default value for rc 2016-10-08 09:22:17 -07:00
man Add Man pages in RONN format 2015-12-14 18:04:26 -08:00
test Fix warnings about unused variables 2016-10-06 15:28:18 -07:00
tools Retrieve hidraw file from command line 2015-11-28 10:06:38 -08:00
udev Add udev rules for making hidraw permissions 0644 2012-10-08 19:37:49 -07:00
util Fix includedir location for headers 2016-05-16 22:15:19 -07:00
.gitignore Add generated objects to .gitignore 2015-12-10 21:56:03 -08:00
.travis.yml Add README files to distribution 2015-12-10 22:44:44 -08:00
COPYING Add README and GPL license file 2012-09-30 15:38:46 -07:00
Makefile.am Add README files to distribution 2015-12-10 22:44:44 -08:00
README.md Add python to required dependencies 2016-05-05 09:32:00 -07:00
autogen.sh Create the m4 directory to fix the autogen failure 2015-12-10 10:22:59 -08:00
configure.ac Convert character map generator to Python script 2016-05-05 09:18:05 -07:00

README.md

Saitek X52Pro joystick driver for Linux

This project adds a new driver for the Saitek/MadCatz X52 Pro flight control system. The X52 pro is a HOTAS (hand on throttle and stick) with 7 axes, 39 buttons, 1 hat and 1 thumbstick and a multi-function display which is programmable.

Currently, only Windows drivers are available from Saitek PLC, which led me to develop a new Linux driver which can program the MFD and the individual LEDs on the joystick. The standard usbhid driver is capable of reading the joystick, but it cannot control the MFD or LEDs.

Most of the extra functionality can be handled from userspace. See the individual folders for README information.

Building

Build has been tested on Ubuntu 14.04 LTS on x86_64.

Prerequisites

You will need the following packages:

  • automake
  • autoconf
  • libusb-1.0-0-dev (Package name may vary across distributions)
  • python (2.6 or greater)

Installation

  1. Clone the repository
  2. Run autogen.sh
  3. Run configure; make and sudo make install.