CVSROOT:        /cvs
Module name:    src
Changes by:     j...@cvs.openbsd.org    2021/06/10 07:34:37

Modified files:
        sys/dev/hid    : hidms.c 

Log message:
Don't skip mouse attachment if an otherwise qualified report doesn't
include X and Y usages.

Some devices put the buttons on one report and X/Y on another, which
was causing us to ignore button data.  This change will cause
attachment of two mouse devices in this case, but wsmux and X's
handling of input devices will make this transparent.

A future change should use [IU]HIDEV_CLAIM_MULTIPLE_REPORTID and
attach just one [iu]ms device that claims multiple reports and gets
X/Y and button data from whichever report it needs to.  But the
future is not today.

ok gnezdo

Reply via email to