Value | Meaning |
---|---|
LIBUSB_HOTPLUG_EVENT_DEVICE_ARRIVED0x01 | A device has been plugged in and is ready to use |
LIBUSB_HOTPLUG_EVENT_DEVICE_LEFT0x02 | A device has left and is no longer available. * It is the user's responsibility to call libusb_close on any handle associated with a disconnected device. * It is safe to call libusb_get_device_descriptor on a device that has left |
Hotplug events
Since version 1.0.16, LIBUSBX_API_VERSION >= 0x01000102