Added Usb Detection using libUsb

This commit is contained in:
2022-11-12 18:29:04 +01:00
parent b20fa5ff13
commit 5a6a268c93
8 changed files with 171 additions and 106 deletions

View File

@@ -6,6 +6,8 @@
namespace ptprnt::driver {
struct UsbDevice {
uint16_t vendorId{0};
uint16_t productId{0};
libusb_device* dev{nullptr};
libusb_device_handle* hndl{nullptr};
};