git: ums: fix incorrect mouse button reporting via evdev

Michael Neumann mneumann at crater.dragonflybsd.org
Tue Jul 23 15:38:51 PDT 2024


commit a285bb00fb0722e1c2533849d83a52a0b1744afe
Author: Michael Neumann <mneumann at ntecs.de>
Date:   Wed Jul 24 00:38:05 2024 +0200

    ums: 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.
    
    Taken-from: FreeBSD [1]
    
    [1]: https://github.com/freebsd/freebsd-src/commit/d6888e211b07be79dd8de3145ac41b365f482ae8

Summary of changes:
 sys/bus/u4b/input/ums.c | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/a285bb00fb0722e1c2533849d83a52a0b1744afe


-- 
DragonFly BSD source repository


More information about the Commits mailing list