doc: update the docs for the FixedSizeVendorReport macro
This needs to be set to the largest HID report as the kernel discards any HID report sized larger than whatever the report descriptor defines.
Merge request reports
Activity
- Resolved by Peter Hutterer
the kernel requires that the returned HID Report Descriptor describes at least one HID Report that is the same size as the largest report in the original HID Report Descriptor.
It's a bit nitpicky, but this isn't exactly true, is it? If you were to write your own report descriptor and it exceeded the size of the largest original, I imagine there would be no need to include another report whose length matches an original one.
Granted, it's harmless to use the macro and it prevents an easy mistake, so it may be a fine idea to use it anyway.
added 1 commit
- 471a5bd9 - doc: update the docs for the FixedSizeVendorReport macro
assigned to @marge-bot
mentioned in commit whot/udev-hid-bpf@380ccf0e
added 3 commits
-
471a5bd9...705460ce - 2 commits from branch
libevdev:main
- 380ccf0e - doc: update the docs for the FixedSizeVendorReport macro
-
471a5bd9...705460ce - 2 commits from branch