SHA256
1
0
forked from pool/libinput

Accepting request 494461 from X11:Wayland

New stable rel:

libinput 1.7.2 is now available. The main change here are Paul's patches
that change the pressure ranges for Elantech touchpads down to something
more lenient. Previously, the range was set too high, causing the touchpad
to behave erratically unless the finger pressure was quite high.

Paul Kocialkowski (3):
      udev: Remove unused Elantech touchpad model binding
      udev: Select more generic pressure range values for Elantech touchpads
      udev: Add specific pressure range for the ASUS ZenBook UX21E

Peter Hutterer (3):
      touchpad: move the pressure range to a hwdb entry
      doc: add documentation for touchpad pressure detection
      configure.ac: libinput 1.7.2 (forwarded request 494422 from Zaitor)

OBS-URL: https://build.opensuse.org/request/show/494461
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libinput?expand=0&rev=44
This commit is contained in:
Dominique Leuenberger 2017-05-18 18:46:58 +00:00 committed by Git OBS Bridge
commit 2b9571d2a0
7 changed files with 22 additions and 29 deletions

BIN
libinput-1.7.0.tar.xz (Stored with Git LFS)

Binary file not shown.

Binary file not shown.

BIN
libinput-1.7.2.tar.xz (Stored with Git LFS) Normal file

Binary file not shown.

BIN
libinput-1.7.2.tar.xz.sig Normal file

Binary file not shown.

View File

@ -1,23 +0,0 @@
From: badshah400@gmail.com
Fix pressure sensitivity for ELANTECH touchpads causing uncomfortable
two-finger taps, scrolls.
References: http://bugzilla.opensuse.org/1034335
References: http://bugs.freedesktop.orgs/100463
Index: libinput-1.7.0/src/evdev-mt-touchpad.c
===================================================================
--- libinput-1.7.0.orig/src/evdev-mt-touchpad.c
+++ libinput-1.7.0/src/evdev-mt-touchpad.c
@@ -2383,8 +2383,8 @@ tp_init_pressure(struct tp_dispatch *tp,
range = abs->maximum - abs->minimum;
if (device->model_flags & EVDEV_MODEL_ELANTECH_TOUCHPAD) {
- tp->pressure.high = 24;
- tp->pressure.low = 10;
+ tp->pressure.high = 10;
+ tp->pressure.low = 8;
} else if (device->model_flags & EVDEV_MODEL_CYAPA) {
tp->pressure.high = 10;
tp->pressure.low = 8;

View File

@ -1,3 +1,21 @@
-------------------------------------------------------------------
Wed May 10 18:50:20 UTC 2017 - zaitor@opensuse.org
- Update to version 1.7.2:
* The main change here are patches that change the pressure
ranges for Elantech touchpads down to something more lenient.
Previously, the range was set too high, causing the touchpad to
behave erratically unless the finger pressure was quite high.
- Drop libinput-elantech-pressure-levels.patch: Fixed upstream.
-------------------------------------------------------------------
Tue Apr 25 09:11:04 UTC 2017 - jengelh@inai.de
- Update to new upstream release 1.7.1
* One patch fixes a test case failure for recent systemd
versions, the other patch fixes a minor issue with the
touchpad code that was likely never triggered anyway.
-------------------------------------------------------------------
Sat Apr 15 02:03:21 UTC 2017 - badshah400@gmail.com

View File

@ -18,7 +18,7 @@
Name: libinput
%define lname libinput10
Version: 1.7.0
Version: 1.7.2
Release: 0
Summary: Input device and event processing library
License: MIT
@ -32,7 +32,6 @@ Source: http://freedesktop.org/software/libinput/%name-%version.tar.xz
Source2: http://freedesktop.org/software/libinput/%name-%version.tar.xz.sig
Source3: baselibs.conf
Source4: %name.keyring
Patch1: libinput-elantech-pressure-levels.patch
#git#BuildRequires: autoconf >= 2.64
#git#BuildRequires: automake >= 1.11
#git#BuildRequires: libtool >= 2.2
@ -99,7 +98,6 @@ to develop applications that require libinput.
%prep
%setup -qn %name-%version
%patch -P 1 -p1
%build
if [ ! -e configure ]; then