Page MenuHomeFreeBSD

hid: Increase HID_ITEM_MAXUSAGE to 32
ClosedPublic

Authored by tijl on Aug 30 2026, 5:38 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Oct 1, 8:59 AM
Unknown Object (File)
Wed, Sep 30, 1:15 PM
Unknown Object (File)
Wed, Sep 30, 5:07 AM
Unknown Object (File)
Sun, Sep 27, 5:42 AM
Unknown Object (File)
Sat, Sep 26, 11:56 PM
Unknown Object (File)
Sat, Sep 26, 11:55 PM
Unknown Object (File)
Fri, Sep 25, 9:29 AM
Unknown Object (File)
Fri, Sep 18, 10:17 PM
Subscribers
None

Details

Summary

I have a Logitech mouse that reports 16 buttons. Bump to 32 to be a
little more future proof. This increases the size of struct hid_item
but this struct is not exported to userland.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 76333
Build 73216: arc lint + arc unit

Event Timeline

tijl requested review of this revision.Aug 30 2026, 5:38 PM
tijl created this revision.
This revision is now accepted and ready to land.Sat, Sep 12, 3:23 PM
This revision was automatically updated to reflect the committed changes.