CVSROOT: /cvs
Module name: src
Changes by: [email protected] 2020/02/10 07:35:08
Modified files:
sys/dev/hid : hidmt.c
Log message:
When walking the HID descriptor, even though we filter for hid_input
we will get hid_collection and hid_endcollection items. Since hid_
endcollection apparently returns the usage of the previous item, it
was possible that we "see" two items for the same usage. Make sure
that we only accept hid_input items. Both hidms and hidkbd do some-
thing similar, fixes the Pinebook Pro's trackpad.
ok kettenis@