Core: Add HID and kernel detach capability detection for all backends
commite0628c566a3fb928baab9e4359760cdc5afe5e95
authorPete Batard <pete@akeo.ie>
Sun, 17 Mar 2013 22:13:53 +0000 (17 22:13 +0000)
committerPete Batard <pete@akeo.ie>
Tue, 2 Apr 2013 18:13:47 +0000 (2 19:13 +0100)
treea3848aefed49a67f85ee9640ac7746f81f962b16
parentf00edf639d3c1272744ab37f07f96fea5246976d
Core: Add HID and kernel detach capability detection for all backends

* Also remove Linux special case from xusb sample.
* Note that LIBUSBX_API_VERSION is incremented as a result of
  libusb_has_capability() returning nonzero rather than 1 when
  a capability is supported.
* A LIBUSB_CAP_HAS_HOTPLUG is also added, though it is currently
  not implemented on any platform
* Closes #102
examples/xusb.c
libusb/core.c
libusb/libusb.h
libusb/libusbi.h
libusb/os/darwin_usb.c
libusb/os/linux_usbfs.c
libusb/os/openbsd_usb.c
libusb/os/wince_usb.c
libusb/os/windows_usb.c
libusb/version_nano.h