Open FlorianUekermann opened 2 years ago
Logical min/max are global items right? so the parser should remember + use the last value.
Theres a lot of bugs caused by buggy parsers, I agree we need a quirk setting to emit all the items for every input/output thats declared.
I use the
gen_hid_descriptor
macro like this:the resulting descriptor looks like this:
As you can see, the logical min & max, as well as report size & count are skipped for the output. I suspect this is correct and because they are identical to the input (I'm not an expert on HID). However, I'm need them to be in there for robust device discovery. It would be great if I could disable this optimization somehow.