Commit Graph

5 Commits

Author SHA1 Message Date
Ihor Dutchak aaf5f3d172 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
2021-09-18 18:56:56 +03:00
Ihor Dutchak ac8c9e5f94 Ubuntu CI: apt update before apt install 2021-07-26 13:31:09 +03:00
Ihor Dutchak dd2db8e2bb CI: more CI for CMake
- Linux CMake build;
- Windows MSVC build;
- Windows NMake build;
- Windows MinGW build;
2021-07-04 00:10:29 +03:00
Ihor Dutchak f5ada42915 CI: macOS build for CMake 2021-07-03 20:38:58 +03:00
Ihor Dutchak 916fad56fe macOS: use GitHub action CI instead of Travis-CI (#223) 2020-12-13 23:01:46 +02:00