| delorie.com/archives/browse.cgi | search |
| Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
| List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
| List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT cygwin DOT com> |
| List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs> |
| Sender: | cygwin-owner AT cygwin DOT com |
| Mail-Followup-To: | cygwin AT cygwin DOT com |
| Delivered-To: | mailing list cygwin AT cygwin DOT com |
| X-Authentication-Warning: | salmon.atmel.com: keith owned process doing -bs |
| Date: | Wed, 20 Aug 2003 10:30:36 -0700 (PDT) |
| From: | Keith Gudger <keith AT atmel DOT com> |
| X-Sender: | keith AT salmon |
| To: | cygwin AT cygwin DOT com |
| Subject: | USB HID Examples |
| Message-ID: | <Pine.SOL.3.96.1030820102307.9249A-100000@salmon> |
| MIME-Version: | 1.0 |
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/
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |