On 9/29/21 10:13 AM, Rémi Bernon wrote:
Testing also shows that these objects should be enumerated in the order they appear in the HID report descriptor, regardless of their button / value nature.
We cannot implement that using HidP functions, as they always separate the buttons from the value caps, so we would have to use "wine/hid.h" and iterate on the internal caps instead. However that would also mean breaking potential Windows compatibility, which could be nice to keep as much as possible.
Oops that comment is a bit outdated, maybe it's possible to strip it before committing the patch?