diff options
author | Patrick Wildt <patrick@cvs.openbsd.org> | 2020-02-10 14:35:09 +0000 |
---|---|---|
committer | Patrick Wildt <patrick@cvs.openbsd.org> | 2020-02-10 14:35:09 +0000 |
commit | 531967f73bc32b9dc4c55e4c59c7201b398868ee (patch) | |
tree | 4fb57ef75b3efa9c195e4ae0f97584fed309c300 /usr.bin/mandoc | |
parent | b6cdabdcbc454218bd131a4b3b93508e95e9e200 (diff) |
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@
Diffstat (limited to 'usr.bin/mandoc')
0 files changed, 0 insertions, 0 deletions