Saitek X52/X52pro userspace driver for Unix/Linux
 
 
 
 
 
Go to file
nirenjan d3d32cf278 Block signals on child threads
This change adds logic to block signals on child threads. This is done
so that we can migrate signal handling to the main thread, even if we
add additional threads in the future.
2022-07-27 11:33:44 -07:00
.github Upgrade CodeQL actions to v2 2022-07-03 21:59:00 -07:00
bugreport Generate Git version info at call to make 2022-04-27 00:05:02 -07:00
cli Add additional tests for x52cli 2022-06-12 03:37:21 -07:00
daemon Block signals on child threads 2022-07-27 11:33:44 -07:00
docs Replace all references to x52pro-linux with libx52 2021-09-29 00:30:55 -07:00
evtest
joytest
kernel_module Add kernel driver for Saitek X65F joystick 2021-09-29 12:59:34 -07:00
lib Override `time` from libc 2021-11-11 07:02:21 -08:00
libusbx52
libx52 Fix Makefile to build on alternative make implementations 2021-10-12 12:10:36 -07:00
libx52io
libx52util Fix Makefile to build on alternative make implementations 2021-10-12 12:10:36 -07:00
m4
po Block signals on child threads 2022-07-27 11:33:44 -07:00
udev
.gitattributes Generate Git version info at call to make 2022-04-27 00:05:02 -07:00
.gitignore Add client communication library 2021-11-04 10:48:59 -07:00
AUTHORS
CONTRIBUTING.md
ChangeLog.md Update Changelog.md 2022-07-24 21:55:38 -07:00
Doxyfile.in Add x52ctl daemon communication program 2021-11-04 10:50:10 -07:00
DoxygenLayout.xml Replace all references to x52pro-linux with libx52 2021-09-29 00:30:55 -07:00
INSTALL.md Replace all references to x52pro-linux with libx52 2021-09-29 00:30:55 -07:00
LICENSE
Makefile.am Generate Git version info at call to make 2022-04-27 00:05:02 -07:00
README.md Fix link to AUR package 2021-10-10 08:35:57 -07:00
Version
autogen.sh
configure.ac Generate Git version info at call to make 2022-04-27 00:05:02 -07:00
gettext.h Include locale.h in gettext.h 2022-06-13 01:45:34 -07:00
usb-ids.h
version-info Generate Git version info at call to make 2022-04-27 00:05:02 -07:00

README.md

Saitek X52Pro joystick driver for Linux

Build/Test Kernel Module CodeQL

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.

Installing released versions

Beginning from version v0.2.3, prebuilt packages are available on Ubuntu PPA and the Arch User Repository.

Ubuntu

This project has been released as a PPA on Ubuntu. To install the package, run the following commands in the terminal.

sudo apt-add-repository ppa:nirenjan/libx52
sudo apt update
sudo apt install libx52-1

Arch Linux

This is available on the AUR

Building and installing from source

See INSTALL.md