<html>
<head>
<base href="https://bugs.freedesktop.org/">
</head>
<body><span class="vcard"><a class="email" href="mailto:peter.hutterer@who-t.net" title="Peter Hutterer <peter.hutterer@who-t.net>"> <span class="fn">Peter Hutterer</span></a>
</span> changed
<a class="bz_bug_link
bz_status_NEW "
title="NEW - libinput mouse scrolling speed insanely fast"
href="https://bugs.freedesktop.org/show_bug.cgi?id=106036">bug 106036</a>
<br>
<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>What</th>
<th>Removed</th>
<th>Added</th>
</tr>
<tr>
<td style="text-align:right;">CC</td>
<td>
</td>
<td>peter.hutterer@who-t.net
</td>
</tr></table>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - libinput mouse scrolling speed insanely fast"
href="https://bugs.freedesktop.org/show_bug.cgi?id=106036#c1">Comment # 1</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - libinput mouse scrolling speed insanely fast"
href="https://bugs.freedesktop.org/show_bug.cgi?id=106036">bug 106036</a>
from <span class="vcard"><a class="email" href="mailto:peter.hutterer@who-t.net" title="Peter Hutterer <peter.hutterer@who-t.net>"> <span class="fn">Peter Hutterer</span></a>
</span></b>
<pre>oh, goodie... looks like this is just a trackpoint slapped on a mouse and the
value range is the same as that of a built-in trackpoint. This explains why the
hwdb doesn't work, even at click delta of 1, the values quickly accumulate to
what would be a full spin of a wheel.
Not too unsurprising, given that the click delta is supposed to work for
wheels.
This needs a model-specific quirk, in the LIBINPUT_MODEL_* category. Tag the
device with that model and then go down a custom code path to set up the wheel.
The scroll source should be CONTINUOUS (see the documentation) and the data
should match pointer movement - given that it's a trackstick that should
already be the case so no messing with click deltas and the like.
You'll have to handle the REL_WHEEL/HWHEEL events accordingly, but otherwise it
should be reasonably straightforward.
<a href="https://wayland.freedesktop.org/libinput/doc/latest/developers.html">https://wayland.freedesktop.org/libinput/doc/latest/developers.html</a> may help as
a start.</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>