mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
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
1 changed files with 0 additions and 3 deletions
|
|
@ -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…
Reference in a new issue