Saitek X52/X52pro userspace driver for Unix/Linux
 
 
 
 
 
Go to file
nirenjan 2fe7b8af43 Cleanup response protocol
This change removes the unnecessary response length field from the
output buffer. It was added to check for possible issues in the
communication between client and server, but is not needed anymore. This
also makes the communication protocol standardized between client and
server.
2021-11-07 05:47:31 -08:00
.github Replace macos-latest with macos-10.15 2021-10-12 12:15:27 -07:00
bugreport Add documentation for x52bugreport 2021-10-11 09:54:27 -07:00
cli Use TEST_DEF as a function macro, instead of #if/#endif blocks 2021-08-02 10:35:37 -07:00
daemon Cleanup response protocol 2021-11-07 05:47:31 -08:00
docs Replace all references to x52pro-linux with libx52 2021-09-29 00:30:55 -07:00
evtest Use non-recursive Automake 2021-07-29 23:53:21 -07:00
joytest Use non-recursive Automake 2021-07-29 23:53:21 -07:00
kernel_module Add kernel driver for Saitek X65F joystick 2021-09-29 12:59:34 -07:00
lib Add noreturn attribute to tap_bailout 2021-10-25 12:56:41 -07:00
libusbx52 Fix build with newer version of libusb 2021-09-14 09:28:00 -07:00
libx52 Fix Makefile to build on alternative make implementations 2021-10-12 12:10:36 -07:00
libx52io Fix Cflags and add libx52util.pc 2021-08-03 12:53:26 -07:00
libx52util Fix Makefile to build on alternative make implementations 2021-10-12 12:10:36 -07:00
m4 Disable -Wpacked compiler flag 2021-08-05 07:54:53 -07:00
po Add config set command to daemon command processor 2021-11-05 15:27:24 -07:00
udev Use non-recursive Automake 2021-07-29 23:53:21 -07:00
.gitignore Add client communication library 2021-11-04 10:48:59 -07:00
AUTHORS Add license clarification and authors file 2016-12-27 13:13:37 -08:00
CONTRIBUTING.md Update bug template and contributing guidelines 2021-09-19 16:39:49 -07:00
ChangeLog.md Add bugreport utility 2021-10-11 07:22:21 -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 Move license text to LICENSE file 2018-04-18 12:16:48 -07:00
Makefile.am Add documentation for x52bugreport 2021-10-11 09:54:27 -07:00
README.md Fix link to AUR package 2021-10-10 08:35:57 -07:00
Version Add Version file and associated scripts 2021-09-22 01:37:57 -07:00
autogen.sh Move pthread build logic to configure.ac 2020-04-15 17:31:46 -07:00
configure.ac Replace all references to x52pro-linux with libx52 2021-09-29 00:30:55 -07:00
configure.version Add Version file and associated scripts 2021-09-22 01:37:57 -07:00
gettext.h Update gettext.h to fix warnings when compiling with --disable-nls 2020-06-12 22:05:28 -07:00
usb-ids.h Replace hard-coded values with #define's 2020-07-08 17:35:17 -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