13 auto sts = libusb_init(&
_ctx);
14 if(sts != LIBUSB_SUCCESS)
23 libusb_free_device_list(
_list,
true);
37 std::lock_guard<std::mutex> lk(
_mutex);
54 std::lock_guard<std::mutex> lk(
_mutex);
void start_event_handler()
libusb_device * get_device(uint8_t index)
std::thread _event_handler
void stop_event_handler()
struct libusb_context * _ctx