This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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
that structure...)

Thank you.
Keith Gudger



--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]