6 Jan
2026
6 Jan
'26
4:38 a.m.
Rémi Bernon (@rbernon) commented about dlls/winebus.sys/hid.c:
static BYTE hid_device_determine_axis_size(LONG min, LONG max) { - if (min >= -128 && max <= 127) return 8; - if (min >= -32768 && max <= 32767) return 16; + if ((min >= 0 && max <= 255) || (min >= -128 && max <= 127)) return 8; + if ((min >= 0 && max <= 65535) || (min >= -32768 && max <= 32767)) return 16;
This should probably be squashed with the first commit -- https://gitlab.winehq.org/wine/wine/-/merge_requests/9789#note_126438