]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
hid: bump HID_ITEM_MAXUSAGES to 8
authorWarner Losh <imp@FreeBSD.org>
Mon, 8 Feb 2021 19:29:20 +0000 (12:29 -0700)
committerWarner Losh <imp@FreeBSD.org>
Mon, 1 Mar 2021 18:59:13 +0000 (11:59 -0700)
commit5a1ecfa5a986b888c5d6c8c38383ad38d2adb03a
tree3920ddb7838e9fdad112adddd9f4cc23fa598d24
parent84c6bae8db2e0ae98e321f928364b61a7a13cda5
hid: bump HID_ITEM_MAXUSAGES to 8

My YOGA requires a minimum of 7 to parse w/o an error. Since the memory savings
are trivial and the yoga a popular system, bump the default up to 8. There's no
API/ABI issues in doing this. This hid_item struct isn't exported to userland
and the one libusbhid has is different and only shares a name...

MFC After: 3 days
Reviewed by: wulf@
Differential Revision: https://reviews.freebsd.org/D28543
Approved by: re@ (gjb)
(cherry picked from commit db2f512381ac3c0c227f5c0354690bb929dcac17)
(cherry picked from commit 0dc5c9467b5bbcf26a8232553a1c213bb95ce635)
sys/dev/hid/hid.h