libx52/libx52
nirenjan 9c1eaaa4b2 build: Migrate includes to use libx52/ prefix
As part of the refactor, have the sources include the public headers via
the libx52 prefix, instead of relying on the include directories
approach in meson.build
2026-04-03 22:54:48 -07:00
..
README.md Move libx52 to top level 2021-07-29 21:41:07 -07:00
libx52.h feat: Update symbol visibility 2026-03-30 22:35:52 -07:00
libx52io.h build: Migrate includes to use libx52/ prefix 2026-04-03 22:54:48 -07:00
libx52util.h build: Migrate includes to use libx52/ prefix 2026-04-03 22:54:48 -07:00
meson.build fix: Make pc files not include -Ilibx52/ in CFLAGS 2026-04-03 22:42:37 -07:00
test_strings.c build: Migrate includes to use libx52/ prefix 2026-04-03 22:54:48 -07:00
x52_commands.h Move libx52 to top level 2021-07-29 21:41:07 -07:00
x52_common.h build: Migrate includes to use libx52/ prefix 2026-04-03 22:54:48 -07:00
x52_control.c build: Migrate includes to use libx52/ prefix 2026-04-03 22:54:48 -07:00
x52_core.c build: Migrate includes to use libx52/ prefix 2026-04-03 22:54:48 -07:00
x52_date_time.c build: Migrate includes to use libx52/ prefix 2026-04-03 22:54:48 -07:00
x52_mfd_led.c Move libx52 to top level 2021-07-29 21:41:07 -07:00
x52_strerror.c build: Migrate includes to use libx52/ prefix 2026-04-03 22:54:48 -07:00
x52_stringify.c build: Migrate includes to use libx52/ prefix 2026-04-03 22:54:48 -07:00
x52_test_gen.py fix: Address compiler warnings 2026-03-19 00:10:18 -07:00
x52_tests.json Move libx52 to top level 2021-07-29 21:41:07 -07:00
x52dcomm.h build: Migrate includes to use libx52/ prefix 2026-04-03 22:54:48 -07:00

README.md

X52 Pro MFD library

This is a library which communicates using libusb-1.0 with the Saitek X52 Pro HOTAS. The library provides several functions to control the LEDs and MFD of the above HOTAS.

Supported functions

  • Set the LED state of all LEDs
  • Write text to each of the MFD lines
  • Set the date/time on the MFD
  • Make the clutch and hat LEDs blink
  • Display the "SHIFT" indicator in the MFD

Note that when writing text to the MFD, the line length is limited to 16 characters. While you can pass a longer string, the library will only consider the first 16 characters for writing to the display.