<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - Trackball wheel emulation interferes with dragging"
href="https://bugs.freedesktop.org/show_bug.cgi?id=89993#c5">Comment # 5</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - Trackball wheel emulation interferes with dragging"
href="https://bugs.freedesktop.org/show_bug.cgi?id=89993">bug 89993</a>
from <span class="vcard"><a class="email" href="mailto:chais.z3r0@gmail.com" title="chais.z3r0@gmail.com">chais.z3r0@gmail.com</a>
</span></b>
<pre>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</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>