Backport FreeBSD's HID parser in order to properly parse `moderm'
authormpi <mpi@openbsd.org>
Mon, 12 May 2014 09:50:44 +0000 (09:50 +0000)
committermpi <mpi@openbsd.org>
Mon, 12 May 2014 09:50:44 +0000 (09:50 +0000)
commit132b9f169ee30b8c092020de8c153d489513a2ef
tree82d0934807e8c1bebfe241e77c6102796b4bec3c
parentab953dfa18ca35c9330577b7dd054f98517f0645
Backport FreeBSD's HID parser in order to properly parse `moderm'
input device descriptors, notably if they include an Item with an
Usage array (Min-Max range) and others single Usage elements.

Tested by many, thanks!  ok andre@
sys/dev/usb/hid.c
sys/dev/usb/hid.h
sys/dev/usb/hidkbd.c
sys/dev/usb/hidms.c
sys/dev/usb/ukbd.c
sys/dev/usb/upd.c