mirror of https://github.com/nirenjan/libx52.git
util_char_map.c is generated at compile time by the Python script x52_char_map_gen.py from the configuration x52_char_map.cfg. However, because it was listed in libx52util_la_SOURCES, it was getting added to the distribution. In addition, removing it from the distribution caused `make distcheck` to fail, since the generation script was called relative to the current directory, instead of relative to `$(srcdir)`. This commit also fixes that issue. |
||
---|---|---|
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.