Commit 4b1f9daa authored by Rémi Bernon's avatar Rémi Bernon Committed by Alexandre Julliard

winebus.sys: Use an unsigned 16bit range for saturation and deadband values.

parent 1cab62f1
...@@ -641,7 +641,7 @@ static BOOL hid_descriptor_add_set_condition(struct unix_device *iface) ...@@ -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_NEGATIVE_SATURATION),
USAGE(1, PID_USAGE_DEAD_BAND), USAGE(1, PID_USAGE_DEAD_BAND),
LOGICAL_MINIMUM(1, 0), LOGICAL_MINIMUM(1, 0),
LOGICAL_MAXIMUM(2, 0x7fff), LOGICAL_MAXIMUM(4, 0xffff),
PHYSICAL_MINIMUM(1, 0), PHYSICAL_MINIMUM(1, 0),
PHYSICAL_MAXIMUM(2, +10000), PHYSICAL_MAXIMUM(2, +10000),
REPORT_SIZE(1, 16), REPORT_SIZE(1, 16),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment