[libhid-discuss] Example code?

Adrian Parker adrian.l.parker at gmail.com
Mon May 26 16:19:44 UTC 2008


I'm looking at
http://svn.debian.org/wsvn/libhid/trunk/test/test_libhid.c?op=file&rev=0&sc=0,
and it seems you have to manually run hid_dump_tree in advance, manually
identify the device and PATH you want to read from.

What if I don't know what devices the users will have at compile time?  Has
anyone example code that progmatically parses an input report descriptor,
from this determines the required input buffer size, and then does a read
receiving the read data in some kind of meaningful structure?



Adrian


More information about the libhid-discuss mailing list