HomeFreeBSD

ums(4): fix incorrect mouse button reporting via evdev

Description

ums(4): fix incorrect mouse button reporting via evdev

when ums driver receives non-mouse HID report. This results in
unexpected button release event. Reuse existing sysmouse logic to
keep button pressed.

Reviewed by: imp, wulf
MFC after: 1 week
Differential revision: https://reviews.freebsd.org/D45838

Details

Provenance
nsonack_outlook.comAuthored on Jul 2 2024, 7:27 PM
wulfCommitted on Jul 2 2024, 11:15 PM
Reviewer
imp
Differential Revision
D45838: EVDEV: fix incorrect mouse button reporting
Parents
rG78918c9b271c: pf: Fix NULL deref in m_pullup failure case
Branches
Unknown
Tags
Unknown