Commit Graph

7 Commits (945ddc63a35f89214ff3efa9cb319bc869c52247)

Author SHA1 Message Date
nirenjan 57cda79320 Add specifications for Saitek X52
[skip ci]
2020-06-21 08:49:14 -07:00
nirenjan cc8d6e9344 Revert hotplug support in libx52
This removes the earlier work done in libx52 to support USB hotplug.
This wasn't adequately tested, and the reason to have hotplug support
was to address perceived deficiencies in the standard API.

However, on recent reflection and experimentation, it seems to be easier
to support adding methods to connect to an X52/X52Pro joystick
dynamically after initializing the library. This approach also lends
itself to adding checks when sending control packets to close the device
handle when it detects device disconnection. Also, one could add a
disconnect method to disconnect from any connected joysticks.

Finally, this commit reverts a series of commits that chronicled my
journey into implementing hotplug support and simulating it in
libusbx52. By coalescing the revert into a single commit, it makes it
easier to revert the revert in the future, if necessary.
2020-05-22 00:42:01 -07:00
nirenjan 946916f456 Add hotplug support to libx52
Prior to this change, libx52 would require that the X52/Pro be plugged
in before initialization. This change allows the application to
initialize libx52 even before the device is plugged in.
2020-04-14 18:36:44 -07:00
nirenjan ea14d1132d Add implementation of stub libusb library
This commit adds the implementation of the stub libusb library in order
to use it in an LD_PRELOAD environment. This also adds the utility
programs to create a device list and sample output to compare against.
2017-07-27 16:43:01 -07:00
nirenjan f4a81aba83 Move spec documents under docs folder 2015-12-02 08:29:45 -08:00
nirenjan 46f9995959 Add X52 key mappings and moved pages document 2013-07-04 15:38:50 -07:00
nirenjan 84774018bf Add X52 MFD pages document
This document describes the API to update pages on the MFD.
2013-01-17 22:04:30 -08:00