Don't clear last usage when a new HID item is found, it improves parsing of
Apple keyboard HID descriptors. Submitted by: Hans Petter Selasky
This commit is contained in:
parent
a688f49162
commit
fe45987e99
@ -296,9 +296,6 @@ hid_get_item(struct hid_data *s, struct hid_item *h)
|
||||
} else {
|
||||
s->ncount = 1;
|
||||
}
|
||||
/* set default usage */
|
||||
/* use the undefined HID PAGE */
|
||||
s->usage_last = 0;
|
||||
goto top;
|
||||
|
||||
case 9: /* Output */
|
||||
|
Loading…
x
Reference in New Issue
Block a user