USB HID Examples
Keith Gudger
keith@atmel.com
Wed Aug 20 18:05:00 GMT 2003
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/
More information about the Cygwin
mailing list