[libhid-discuss] Announce hidmon and some questions and remarks about libhid

Charles Lepple clepple at ghz.cc
Tue Jan 23 05:16:40 CET 2007


On Jan 22, 2007, at 7:11 PM, Frederik Reiß wrote:

> Is there any way to get the needed buffer size for  
> hid_get_input_report
> and friends ?

It's not part of the public API for some reason, but this is how  
hid_get_item_value does it:

     hid_find_object(hidif, path, depth);
     hid_get_report_size(hidif, hidif->hid_data->ReportID,
        hidif->hid_data->Type, &size);

Also, if you have any ideas about what the API should look like, let  
me know - it's due for an overhaul.

-- 
Charles Lepple
clepple at ghz.cc





More information about the libhid-discuss mailing list