[Wayland-bugs] [Bug 106674] evdev like EmulateWheel for absolute devices

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sun May 27 23:00:41 UTC 2018


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

            Bug ID: 106674
           Summary: evdev like EmulateWheel for absolute devices
           Product: Wayland
           Version: unspecified
          Hardware: Other
                OS: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: libinput
          Assignee: wayland-bugs at lists.freedesktop.org
          Reporter: alon.barlev at gmail.com

Hello,

I am trying to migrate from evdev configuration which works fine recent
years to libinput configuration.

Functionality: When middle bottom is pressed and primary pointer is moved
up/down a scroll events are sent, while if bottom is pressed shortly it
acts as middle button (paste).

Use cases:
1. Track point support: middle button + movement in trackpoint = scroll
2. Any mouse configuration, in this case the track point is exposed to the
Linux as USB tablet mouse, however, functionality should remain.

The current evdev configuration which is working fine:
---
Section "InputClass"
         Identifier      "MyMouse"
         MatchProduct    "VirtualBox USB Tablet"
         MatchIsPointer  "on"
         Option         "EmulateWheel"
         Option         "EmulateWheelButton"    "2"
         Option         "EmulateWheelInertia"   "500"
EndSection
---

I tried the following configuration, with and without the ScrollMethod
properties:
---
Section "InputClass"
         Identifier      "MyMouse"
         MatchProduct    "VirtualBox USB Tablet"
         MatchIsPointer  "on"
         Option          "NaturalScrolling"      "true"
         Option          "ScrollMethod"          "button"
         Option          "ScrollButton"          "2"
EndSection
---

However, I get no affect in xinput, nor do I see difference if I manually
set "libinput Natural Scrolling Enabled" property.

Refer to bug#93617 in which we previously also discussed this for evdev, please
note bug#93617 comment#25 for the alternative to make absolute device scroll
user friendly, per the distance of the pointer from the base point.


Thanks!

-- 
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/20180527/39a95190/attachment.html>


More information about the wayland-bugs mailing list