[Wayland-bugs] [Bug 100042] libinput handles mouse button remapping and button scrolling in the wrong order

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Mar 20 00:04:09 UTC 2017


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

--- Comment #5 from freeyourmind at gmail.com ---
Sorry, you're right, I misunderstood my own config when trying to update to
libinput. With evdev I'm running:

xinput set-prop "ELECOM ELECOM TrackBall Mouse" "Evdev Wheel Emulation" 1
xinput set-prop "ELECOM ELECOM TrackBall Mouse" "Evdev Wheel Emulation Button"
3
xinput set-prop "ELECOM ELECOM TrackBall Mouse" "Evdev Wheel Emulation Axes" 10
11 4 5
xinput --set-button-map "ELECOM ELECOM TrackBall Mouse" 1 2 3 4 5 9 8 10 11 6 7

"Evdev Wheel Emulation Axes" is the feature I can't find an equivalent for with
libinput. With evdev, I map the horizontal scrolling from the wheel emulation
to buttons 10 and 11, Then I rebind sets of buttons 6, 7 -> 8, 9 -> 10, 11 ->
6, 7, so the 10 and 11 from the wheel emulation become 6 and 7, and the
original 6 and 7 buttons can be mapped elsewhere.

The closest thing I can see for libinput is "HorizontalScrolling" which would
let me turn off horizontal scrolling from wheel emulation, then I could still
rebind 6 and 7.

Does libinput have a replacement for evdev's "Evdev Wheel Emulation Axes"?

-- 
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/20170320/a62376ef/attachment.html>


More information about the wayland-bugs mailing list