libx52/lib
nirenjan d9ae8d4b79 Add connect/disconnect methods to libx52
Prior to this change, libx52_init needed a supported joystick to be
plugged in, otherwise it would fail with LIBX52_ERROR_NO_DEVICE. This
change modifies the behavior so that libx52_init would still succeed,
but the application should call libx52_connect to make sure that the
device handle is valid. libx52_init still tries to connect to the
joystick, but absence is no longer treated as a failure.

This change also modifies x52cli to check that the joystick is actually
connected before calling the individual handlers. Because libx52_init no
longer fails if the joystick is absent, we need to rely on the return
code from libx52_connect.
2020-05-23 02:18:40 -07:00
..
libusbx52 Revert hotplug support in libx52 2020-05-22 00:42:01 -07:00
libx52 Add connect/disconnect methods to libx52 2020-05-23 02:18:40 -07:00
libx52util Update Doxygen comments 2020-04-18 02:21:12 -07:00
Makefile.am Add SPDX license identifiers in all files 2018-04-18 12:19:29 -07:00