[Wayland-bugs] [Bug 105830] libinput ignores xinput settings regarding mouse wheel (quick fix included)

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Apr 2 23:02:27 UTC 2018


https://bugs.freedesktop.org/show_bug.cgi?id=105830

Peter Hutterer <peter.hutterer at who-t.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |NOTOURBUG
                 CC|                            |peter.hutterer at who-t.net

--- Comment #1 from Peter Hutterer <peter.hutterer at who-t.net> ---
libinput doesn't do button mapping, that's handled in the X server. Likewise
with the scroll axis to button emulation.  This "fix" here is like hacking
glibc because you don't want to resolve a specific hostname - less than ideal
and, despite your eye-roll in the debian user forum comment, this is not a bug
in libinput.

The fix would have to be in the server, specifically in
emulate_scroll_button_events() which doesn't appear to take the button mapping
into account.

The main question here though is: why do you need to disable the mouse wheel?
Apparently:

> The problem is that the cat hairs in the mice make them "scroll" even without 
> touching the wheel - highly annoying!

So yeah, nah. Not going to hack libinput for this. Feel free to open a bug
against the X server when you've verified that button mapping isn't taking into
account for scroll button emulation, but don't expect anyone to have the time
to fix this right now. I suggest to get a new mouse, because the amount of
effort required on our side to keep your cat hairs off your wheel is
disproportional to the money a new mouse costs.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/wayland-bugs/attachments/20180402/36c245d0/attachment-0001.html>


More information about the wayland-bugs mailing list