winebus.sys: Use an unsigned 16bit range for saturation and deadband values.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=51922 Signed-off-by: Rémi Bernon <rbernon@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
1cab62f1a0
commit
4b1f9daad5
|
@ -641,7 +641,7 @@ static BOOL hid_descriptor_add_set_condition(struct unix_device *iface)
|
|||
USAGE(1, PID_USAGE_NEGATIVE_SATURATION),
|
||||
USAGE(1, PID_USAGE_DEAD_BAND),
|
||||
LOGICAL_MINIMUM(1, 0),
|
||||
LOGICAL_MAXIMUM(2, 0x7fff),
|
||||
LOGICAL_MAXIMUM(4, 0xffff),
|
||||
PHYSICAL_MINIMUM(1, 0),
|
||||
PHYSICAL_MAXIMUM(2, +10000),
|
||||
REPORT_SIZE(1, 16),
|
||||
|
|
Loading…
Reference in New Issue