1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-10-19 02:29:40 +00: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:
Andrew Thompson 2009-05-21 17:55:18 +00:00
parent a688f49162
commit fe45987e99
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=192559

View File

@ -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 */