[Wayland-bugs] [Bug 98839] Somehow conditionalize hysteresis (hardware black/whitelist, device property introspection, user-exposed setting, etc)
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Sun Oct 15 22:07:42 UTC 2017
https://bugs.freedesktop.org/show_bug.cgi?id=98839
--- Comment #32 from Chris Billington <chrisjbillington at gmail.com> ---
I too get a much more pleasant experience with zero hysteresis on a Dell
Precision 5520, which is similar hardware to a Dell XPS 15 or Dell XPS 13. With
hysteresis, I can't make small movements easily, and when I can they are likely
to be snapped to purely horizontal or purely vertical movement. Targeting small
things is needlessly tricky - the hysteresis is definitely a hindrance on this
hardware, I find it hard to imagine anyone on this hardware would prefer it to
remain enabled. Disabling it is like night and day.
Here's how I'm working around the problem on Ubuntu at the moment by applying a
patch from an Arch Linux AUR package in a way that is friendly to Ubuntu/Debian
packaging (and thus cleanly reversible using dpkg etc):
(replace 1.8.2 below with whatever version is the latest in your repos)
* Add "source code" to software sources in software and updates settings
* Then do all this to get the source, get the patch, apply the patch, rebuild
and install (existing libinput will be replaced)
cd ~/tmp
apt-get source libinput10 devscripts
cd libinput-1.8.2
wget
https://aur.archlinux.org/cgit/aur.git/plain/disable-hysteresis.patch?h=libinput-no-hysteresis
patch -p1 < disable-hysteresis.patch
sudo apt-get build-dep libinput10
sudo apt-get install devscripts
dch -i # enter a changelog message like "apply patch to disable hysteresis"
debuild -us -uc -b
sudo dpkg -i ../libinput10_1.8.2-1ubuntu3_amd64.deb
../libinput-bin_1.8.2-1ubuntu3_amd64.deb
../libinput-tools_1.8.2-1ubuntu3_amd64.deb
If you're using more than those three libinput packages you may need to tell
dpkg to install more than
Then logout and login to use the newly built and installed libinput10
I also like making these changes for a more responsive touchpad, but YMMV:
in src/evdev.c:
// Set the scroll thresholds to zero for instant scrolling:
device->scroll.threshold = 0.0; /* Default may be overridden */
device->scroll.direction_lock_threshold = 0.0; /* Default may be overridden
*/
in src/evdev-mt-touchpad.c in tp_unpin_finger():
// Remove the surrounding if statement to unpin a
// finger immediately after a click instead of only after 1.5mm:
t->pinned.is_pinned = false;
return;
--
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/20171015/bdaa1302/attachment.html>
More information about the wayland-bugs
mailing list