feat(usb): migrate to libusb 1.0

Replace the old libusb 0.1 API with libusb 1.0.

- Update device detection and USB transfers.
- Update USB interface and resource handling.
- Use pkg-config to find the library.
- Update build dependencies and installation instructions.
This commit is contained in:
Valentin Popov committed 2026-10-23 00:13:05 +04:00
1 parent 9c608021f8
commit d7ab8990be
10 files changed
+245 -183

No files matched your search

+2 -1
View File
@@ -13,7 +13,8 @@ compiler:
addons: &addons
apt:
packages:
- libusb-dev
- libusb-1.0-0-dev
- pkg-config
matrix:
include: