Skip to content
Snippets Groups Projects
Commit dfaf7e04 authored by Ivo Ivanov's avatar Ivo Ivanov Committed by Alexandre Julliard
Browse files

winebus.sys: Add PID_USAGE_PARAMETER_BLOCK_OFFSET in the set condition report.


Fixes improper interpretation of the condition output reports.

Signed-off-by: default avatarIvo Ivanov <logos128@gmail.com>
Signed-off-by: default avatarRémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard's avatarAlexandre Julliard <julliard@winehq.org>
parent 438078d0
Branches
Tags
No related merge requests found
......@@ -625,6 +625,13 @@ static BOOL hid_descriptor_add_set_condition(struct unix_device *iface)
REPORT_COUNT(1, 1),
OUTPUT(1, Data|Var|Abs),
USAGE(1, PID_USAGE_PARAMETER_BLOCK_OFFSET),
LOGICAL_MINIMUM(1, 0x00),
LOGICAL_MAXIMUM(1, 0x01),
REPORT_SIZE(1, 8),
REPORT_COUNT(1, 1),
OUTPUT(1, Data|Var|Abs),
USAGE(1, PID_USAGE_CP_OFFSET),
USAGE(1, PID_USAGE_POSITIVE_COEFFICIENT),
USAGE(1, PID_USAGE_NEGATIVE_COEFFICIENT),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment