mirror of https://github.com/nirenjan/libx52.git
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. |
||
---|---|---|
.. | ||
libusbx52.md | ||
x52_key_mappings.md | ||
x52_mfd_pages.md |