[Wayland-bugs] [Bug 106674] button scrolling for absolute devices
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Fri Jun 1 05:55:16 UTC 2018
https://bugs.freedesktop.org/show_bug.cgi?id=106674
--- Comment #28 from Alon Bar-Lev <alon.barlev at gmail.com> ---
(In reply to Peter Hutterer from comment #26)
> right, so the patch I sent out merely makes the button scrolling
> *available*, it doesn't *enable* it by default. You'll have to both enable
> it and select a suitable button to scroll with. For trackpoints we do this
> automatically (hence middle scrolling works OOTB) and on some trackballs we
> select a button but don't enable it by default. But this is a special case
> here, the virtual tablet device is a generic one that forwards whatever
> comes in from the host so we cannot enable the button scrolling by default
> without likely upsetting other setups.
>
> Try with
> libinput debug-events --set-scroll-method=button
> --set-scroll-button=BTN_MIDDLE
See attachment#139899, seems like when I press the middle button there is no
event, then I move the cursor and get standard events of movement, when I
release it dispatches press/release.
> If that works, then the libinput bits are done and you now need to figure
> out how to get this into the session (xorg.conf snippet or if your DE
> supports graphical configuration for that bit, then that)
My xorg configuration is outlined at comment#0, what should I change? Also see
attachment#139898 as far as I see it should be fine, not sure why natural
scrolling is disabled, but the button scrolling is set.
---
libinput Natural Scrolling Enabled (253): 0
libinput Natural Scrolling Enabled Default (254): 0
libinput Button Scrolling Button (264): 2
libinput Button Scrolling Button Default (265): 2
---
--
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/20180601/fdbb1259/attachment-0001.html>
More information about the wayland-bugs
mailing list