Windows: use IOCTLs for HID input, output and feature reports
authorPete Batard <pbatard@gmail.com>
Tue, 5 Oct 2010 11:29:32 +0000 (12:29 +0100)
committerPeter Stuge <peter@stuge.se>
Tue, 5 Oct 2010 23:49:26 +0000 (01:49 +0200)
commit1feadb5f78e1d2cdfd2aaf0011e041c2848bae37
treeda5ea540ecf71da3ab31bdd2c92003c6d7a2b594
parentd7c25451f4075d2a12eb5cbc91ff3de8c0292da0
Windows: use IOCTLs for HID input, output and feature reports

* fixes feature reports not providing actual read size
  (reported by Axel Rohde http://marc.info/?m=127033070021994)
* removes the USE_HIDD_FOR_REPORTS macro
* IOCTL usage inspired from HIDAPI by Alan Ott
libusb/os/windows_usb.c
libusb/os/windows_usb.h