[libhid-discuss] hidparser - development

Skip Hodgson skiphod at ozemail.com.au
Sun Sep 19 23:26:35 UTC 2010


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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: libhid_usageminmax.patch.gz
Type: application/x-gzip
Size: 1686 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/libhid-discuss/attachments/20100920/686fa6be/attachment.bin>


More information about the libhid-discuss mailing list