Saitek X52/X52pro userspace driver for Unix/Linux
 
 
 
 
 
Go to file
nirenjan e1915bc734 Update paths of scripts to allow building on BSD
Prior to this change, the assumption in all shell and Python scripts was
that the Bash interpreter would always be available at `/bin/bash`, and
Python would always be available at `/usr/bin/python`. However, on a VM
running FreeBSD, installing bash and python using the pkg command
installs them under /usr/local/bin.

This change updates the paths to use /usr/bin/env in the shebang. While
this is not a standard path either, it is more likely to be available at
this location.

This change also updates the find command in common_infra.sh to use
`-perm -+x` in lieu of `-executable`, which is not a condition defined
by POSIX. This allows running the tests on BSD.
2020-06-12 23:26:51 -07:00
.github Add contribution guidelines 2020-06-02 17:20:03 -07:00
docs Revert hotplug support in libx52 2020-05-22 00:42:01 -07:00
kernel_module Add SPDX license identifiers in all files 2018-04-18 12:19:29 -07:00
lib Update paths of scripts to allow building on BSD 2020-06-12 23:26:51 -07:00
m4 Enable additional compiler warnings 2020-06-11 23:38:44 -07:00
po Update POT with new source line numbers 2020-06-12 23:16:33 -07:00
tests Update paths of scripts to allow building on BSD 2020-06-12 23:26:51 -07:00
tools Retrieve hidraw file from command line 2015-11-28 10:06:38 -08:00
udev Add udev rules to distribution 2020-05-30 16:38:58 -07:00
utils x52cli: Clean up compiler warnings 2020-06-11 23:39:28 -07:00
.gitignore Use TAP for tests 2020-06-06 08:33:30 -07:00
.travis.yml Add faketime to Travis packages list 2020-06-02 15:03:26 -07:00
.travis_build.sh Remove redundant make check from Travis build 2017-08-11 18:19:29 -07:00
AUTHORS Add license clarification and authors file 2016-12-27 13:13:37 -08:00
CONTRIBUTING.md Add contribution guidelines 2020-06-02 17:20:03 -07:00
ChangeLog.md Update Changelog.md 2020-06-07 02:30:14 -07:00
Doxyfile.in Add link to Github in Doxygen generated output 2020-06-06 08:54:59 -07:00
DoxygenLayout.xml Add link to Github in Doxygen generated output 2020-06-06 08:54:59 -07:00
INSTALL.md Create INSTALL.md 2020-06-02 16:36:01 -07:00
LICENSE Move license text to LICENSE file 2018-04-18 12:16:48 -07:00
Makefile.am Add contribution guidelines 2020-06-02 17:20:03 -07:00
README.md Create INSTALL.md 2020-06-02 16:36:01 -07:00
autogen.sh Move pthread build logic to configure.ac 2020-04-15 17:31:46 -07:00
configure.ac Enable -Werror in compiler flags 2020-06-11 23:39:28 -07:00
gettext.h Update gettext.h to fix warnings when compiling with --disable-nls 2020-06-12 22:05:28 -07:00

README.md

Saitek X52Pro joystick driver for Linux

Build Status

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 and installing

See INSTALL.md