Tags: peergum/hidapi
Tags
Parse USB interface number from device Hardware IDs (libusb#360) Strickly speaking we cannot parse interface string at all and only allowed to parse Hardware ID string.
Add <root>/libusb to includes for in-tree build Otherwise it is impossible to `#include <hidapi_libusb.h>`, when HIDAPI is added directly as a subdirectory of a CMake project.
add libusb-specific hid_libusb_wrap_sys_device Rationale: on Android one must use UsbManager, to access any USB device. As a result, libraries like libusb can only use file descriptors that are provided by UsbManager. libusb has an API to use such file descriptors: hid_libusb_wrap_sys_device. Having hid_libusb_wrap_sys_device currently is the only way to make hidapi work on Android without root access and without custom Android builds. Relevant info: https://github.com/libusb/libusb/pull/830/files
configure.ac: release 0.9.0 Signed-off-by: Filip Kubicz <filip.kubicz@nordicsemi.no>
windows: Fix undeclared variable name in register_error() Signed-off-by: Kubicz, Filip <Filip.Kubicz@nordicsemi.no>
PreviousNext