The HID Spec document that we have on hand is so poorly written that it is nearly incomprehensible. Thus we are trying to use libhid (and libusb) and some commercially available devices to discover what the HID spec actually is! We will need a fairly "deep structure" as you put it for our flight simulation console but the example joysticks and MicroChip boards exhibit this Usage Min/Max characteristic so it helps if we can parse the report descriptors accurately.

I am attaching the patch we use in case somebody else needs it. I hope that is the correct way to "post the patch". It runs OK in Linux with gcc but I have no idea about the other operating systems you try to support. We apply it from the libhid package directory by doing patch -p0 <libhid_usageminmax.patch.

Hope this is helpful.

Skip.




On 20/09/10 02:04, Charles Lepple wrote:


That said, it sounds like you've found enough of a use case to warrant a patch, and you are more than welcome to post the patch to the list (gzipped if it's larger than a few kB).




Attachment: libhid_usageminmax.patch.gz
Description: GNU Zip compressed data

_______________________________________________
libhid-discuss mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/libhid-discuss
http://libhid.alioth.debian.org/

Reply via email to