Saitek X52/X52pro userspace driver for Unix/Linux
 
 
 
 
 
Go to file
nirenjan a39945f461 Import inih library into source tree
Prior to this change, the user needed to install inih as a dependency,
either from the distribution repositories, or from source. On some
platforms (notably macOS), inih is not available prepackaged, and must
be installed by the user. This tends to cause needless friction.

This change imports the ini.c and ini.h files from the upstream inih
repository into the X52 source tree. This will allow us to build the
repository on any system with the original set of dependencies, and not
have to force the user to install packages themselves.
2021-08-26 22:16:38 -07:00
.github Import inih library into source tree 2021-08-26 22:16:38 -07:00
cli Use TEST_DEF as a function macro, instead of #if/#endif blocks 2021-08-02 10:35:37 -07:00
daemon Import inih library into source tree 2021-08-26 22:16:38 -07:00
docs Fix make distcheck 2021-08-01 23:56:37 -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 versions that have the quirks fix 2020-09-17 17:06:39 -07:00
lib Import inih library into source tree 2021-08-26 22:16:38 -07:00
libusbx52 Use non-recursive Automake 2021-07-29 23:53:21 -07:00
libx52 Fix stringification of libx52_led_state 2021-08-25 14:09:28 -07:00
libx52io Fix Cflags and add libx52util.pc 2021-08-03 12:53:26 -07:00
libx52util Fix Cflags and add libx52util.pc 2021-08-03 12:53:26 -07:00
m4 Disable -Wpacked compiler flag 2021-08-05 07:54:53 -07:00
po Allow x52d to daemonize 2021-08-04 13:13:12 -07:00
udev Use non-recursive Automake 2021-07-29 23:53:21 -07:00
.gitignore Squashed 'lib/pinelog/' changes from 27a5eab..0256807 2021-08-25 14:22:04 -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 Import inih library into source tree 2021-08-26 22:16:38 -07:00
Doxyfile.in Add documentation for x52d 2021-08-01 23:47:24 -07:00
DoxygenLayout.xml Add link to Github in Doxygen generated output 2020-06-06 08:54:59 -07:00
INSTALL.md Import inih library into source tree 2021-08-26 22:16:38 -07:00
LICENSE Move license text to LICENSE file 2018-04-18 12:16:48 -07:00
Makefile.am Use automake rules to install man pages 2021-08-05 10:35:31 -07:00
README.md Squashed 'lib/pinelog/' changes from 27a5eab..0256807 2021-08-25 14:22:04 -07:00
autogen.sh Move pthread build logic to configure.ac 2020-04-15 17:31:46 -07:00
configure.ac Import inih library into source tree 2021-08-26 22:16:38 -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.

Building and installing

See INSTALL.md