mirror of https://github.com/nirenjan/libx52.git
This uses the published device IDs for the Saitek X52 (non-Pro) model. However, based on my knowledge, the X52 uses single color LEDs compared to the X52 Pro's tri-color LEDs (Red/Amber/Green). For the time being, until we can determine the actual control messages being sent to the X52, setting the LED state will not be supported. This commit also operates on the assumption that the other controls are the same as the X52 Pro, specifically the following: - Setting MFD/LED brightness - Setting MFD text - Setting blink and shift - Seting time and date on the MFD clock Issue: #11 |
||
---|---|---|
cli | ||
docs | ||
kernel_module | ||
libx52 | ||
man | ||
test | ||
tools | ||
udev | ||
util | ||
.gitignore | ||
.travis.yml | ||
AUTHORS | ||
COPYING | ||
LICENSE | ||
Makefile.am | ||
README.md | ||
autogen.sh | ||
configure.ac |
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
- Clone the repository
- Run autogen.sh
- Run configure; make and sudo make install.