Commit 94a7b32a authored by Arkadiusz Hiler's avatar Arkadiusz Hiler Committed by Alexandre Julliard

winebus.sys: Fix units used for hat switches.

The 0xe nibble value is reserved and makes hid-decode from hid-tools crash while tryign to parse the descriptor. 0x0 is the correct way of expressing no special units are used.
parent ee1e15ac
......@@ -233,7 +233,7 @@ BOOL hid_device_add_hatswitch(struct unix_device *iface, INT count)
LOGICAL_MAXIMUM(1, 8),
REPORT_SIZE(1, 8),
REPORT_COUNT(4, count),
UNIT(1, 0x0e /* none */),
UNIT(1, 0x0), /* None */
INPUT(1, Data|Var|Abs|Null),
};
......
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