Some libx52 APIs, notably the clock related ones, can return LIBX52_ERROR_TRY_AGAIN. This is not a real error, but it is useful information. It indicates to the application that there is no change applied to the internal state, and that it should wait until trying again. Given that the clock thread calls the libx52_set_clock method every second, treating the TRY_AGAIN state as a failure and logging it causes a lot of spurious noise in the logs. This change ensures that the API returns a real error before logging it. |
||
---|---|---|
.github | ||
daemon | ||
docs | ||
kernel_module | ||
lib | ||
m4 | ||
po | ||
tests | ||
tools | ||
udev | ||
utils | ||
.gitignore | ||
AUTHORS | ||
CONTRIBUTING.md | ||
ChangeLog.md | ||
Doxyfile.in | ||
DoxygenLayout.xml | ||
INSTALL.md | ||
LICENSE | ||
Makefile.am | ||
README.md | ||
autogen.sh | ||
configure.ac | ||
gettext.h | ||
usb-ids.h |
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.
Note: This repository currently only provides commandline interfaces to control the MFD and LEDs. If you are not comfortable working in the commandline, then the gx52 project might be a better fit for your needs as it provides a graphical interface to control the MFD and LEDs.
Building and installing
See INSTALL.md