Replies: 1 comment
-
Essentially I believe this discussion is not directly related to HIDAPI. It is probably best to post this somewhere at webhid community (is there a discussion/forum/etc.?): "how to fill the |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello all, I am writing an adapter between webhid and hidapi. I need some guidance how to fill the HIDCollectionInfo for a particular device using hidapi APIs. Webhid provides an algorithm (https://wicg.github.io/webhid/#dfn-parsing-the-report-descriptor) how to parse the raw bytes of report descriptor and I see that hidapi provides hid_get_report_descriptor to get the raw data. Did anyone attempt to do this ? Is there any implementation I can take as reference ?
Thanks.
Beta Was this translation helpful? Give feedback.
All reactions