This is the mail archive of the
mailing list for the Cygwin project.
USB HID Examples
- From: Keith Gudger <keith at atmel dot com>
- To: cygwin at cygwin dot com
- Date: Wed, 20 Aug 2003 10:30:36 -0700 (PDT)
- Subject: USB HID Examples
I am trying to enumerate / find a particular USB HID device. I am using
cygwin 1.3.22-1. I have searched the cygwin archives with no luck. The
previous API I used (MSC) to get info on a HID device was:
HidD_GetAttributes(), which does not seem to be supported in cygwin. A
GNU/Linux example I FOTW uses ioctl's, which I'd rather not get into
(which are not compatable with cygwin anyway).
Can anyone on this list please direct me to an example which might help?
I have gotten as far as SetupDiGetDeviceInterfaceDetail(), and opened a
handle to the device (DeviceHandle=CreateFile ...). After that, I can
find no function to even get the Device Descriptor (although I did find
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html