Value | Meaning |
---|---|
LIBUSB_CAP_HAS_CAPABILITY0x0000 | The libusb_has_capability() API is available. |
LIBUSB_CAP_HAS_HOTPLUG0x0001 | Hotplug support is available on this platform. |
LIBUSB_CAP_HAS_HID_ACCESS0x0100 | The library can access HID devices without requiring user intervention. * * Note that before being able to actually access an HID device, you may * still have to call additional libusbx functions such as * libusb_detach_kernel_driver(). |
LIBUSB_CAP_SUPPORTS_DETACH_KERNEL_DRIVER0x0101 | The library supports detaching of the default USB driver, using * libusb_detach_kernel_driver(), if one is set by the OS kernel |
Capabilities supported by an instance of libusb on the current running platform. Test if the loaded library supports a given capability by calling libusb_has_capability().