[Wayland-bugs] [Bug 89993] Trackball wheel emulation interferes with dragging

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Apr 21 06:40:30 PDT 2015


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

--- Comment #5 from chais.z3r0 at gmail.com ---
OK, I've toyed around a bit and noticed the xinput props I posted earlier were
rather incomplete. Device ID and device name can't be used interchangeably.

$ xinput --list-props Logitech\ USB\ Trackball
Device 'Logitech USB Trackball':
    Device Enabled (150):    1
    Coordinate Transformation Matrix (152):    1.000000, 0.000000, 0.000000,
0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000
    libinput Accel Speed (284):    0.000000
    libinput Natural Scrolling Enabled (285):    0
    libinput Send Events Modes Available (270):    1, 0
    libinput Send Events Mode Enabled (271):    0, 0
    libinput Left Handed Enabled (286):    0
    libinput Scroll Methods Available (287):    0, 0, 1
    libinput Scroll Method Enabled (288):    0, 0, 1
    libinput Button Scrolling Button (289):    8
    Device Node (272):    "/dev/input/event3"
    Device Product ID (273):    1133, 50184

Here's the xorg.conf I currently use:

Section "InputClass"
    Identifier    "Marble Mouse"
    MatchProduct    "Logitech USB Trackball"
    Driver        "libinput"
    Option        "ScrollMethod" "button"
    Option        "ScrollButton" "8"
EndSection

The ScrollButton is set, but ScrollMethod seems to be ignored, which would
imply it's not applicable for trackball devices.

However setting it manually with `xinput --set-prop Logitech\ USB\ Trackball
--type=atom ScrollMethod button` works and results in the desired behaviour.
Now I get

$ xinput --list-props Logitech\ USB\ Trackball                              
Device 'Logitech USB Trackball':
    Device Enabled (150):    1
    Coordinate Transformation Matrix (152):    1.000000, 0.000000, 0.000000,
0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000
    libinput Accel Speed (284):    0.000000
    libinput Natural Scrolling Enabled (285):    0
    libinput Send Events Modes Available (270):    1, 0
    libinput Send Events Mode Enabled (271):    0, 0
    libinput Left Handed Enabled (286):    0
    libinput Scroll Methods Available (287):    0, 0, 1
    libinput Scroll Method Enabled (288):    0, 0, 1
    libinput Button Scrolling Button (289):    8
    Device Node (272):    "/dev/input/event3"
    Device Product ID (273):    1133, 50184
    ScrollMethod (559):    "button" (560)

So it appears that ScrollMethod is applicable, but not parsed from the
xorg.conf

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/wayland-bugs/attachments/20150421/97ce4ef5/attachment.html>


More information about the wayland-bugs mailing list