Skip to content

Commit 94a7b32

Browse files
ivyljulliard
authored andcommitted
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.
1 parent ee1e15a commit 94a7b32

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dlls/winebus.sys/hid.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,7 @@ BOOL hid_device_add_hatswitch(struct unix_device *iface, INT count)
233233
LOGICAL_MAXIMUM(1, 8),
234234
REPORT_SIZE(1, 8),
235235
REPORT_COUNT(4, count),
236-
UNIT(1, 0x0e /* none */),
236+
UNIT(1, 0x0), /* None */
237237
INPUT(1, Data|Var|Abs|Null),
238238
};
239239

0 commit comments

Comments
 (0)