On Mon Nov 21 17:51:20 2022 +0000, Rémi Bernon wrote:
Thanks for the tests! I actually made a few tweaks and took that opportunity to fix the Get and Scaled flavors too. Would you mind having a look at https://gitlab.winehq.org/rbernon/wine/-/commits/mr-1448-tweaks and updating this MR with it if that looks fine to you?
```c if (!(caps->flags & HID_VALUE_CAPS_IS_RANGE)) bit_count *= caps->report_count; ``` We only want to do this if `HidP_*UsageValueArray` is called, if it's `HidP_*UsageValue` we only [handle the first item](https://learn.microsoft.com/en-us/windows-hardware/drivers/hid/value-capabil...). Or is the documentation wrong and Windows actually does this?