Hello community,

here is the log from the commit of package libinput for openSUSE:Factory 
checked in at 2017-04-24 09:47:02
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libinput (Old)
 and      /work/SRC/openSUSE:Factory/.libinput.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "libinput"

Mon Apr 24 09:47:02 2017 rev:43 rq:488626 version:1.7.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/libinput/libinput.changes        2017-04-11 
09:28:42.820496597 +0200
+++ /work/SRC/openSUSE:Factory/.libinput.new/libinput.changes   2017-04-24 
09:47:02.570731220 +0200
@@ -1,0 +2,7 @@
+Sat Apr 15 02:03:21 UTC 2017 - [email protected]
+
+- Add libinput-elantech-pressure-levels.patch to fix pressure
+  sensitivity for ELANTECH touchpads causing uncomfortable
+  two-finger taps, scrolls (boo#1034335, fdo#100463).
+
+-------------------------------------------------------------------

New:
----
  libinput-elantech-pressure-levels.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ libinput.spec ++++++
--- /var/tmp/diff_new_pack.ciw6m2/_old  2017-04-24 09:47:04.326482892 +0200
+++ /var/tmp/diff_new_pack.ciw6m2/_new  2017-04-24 09:47:04.330482327 +0200
@@ -32,6 +32,7 @@
 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
@@ -98,6 +99,7 @@
 
 %prep
 %setup -qn %name-%version
+%patch -P 1 -p1
 
 %build
 if [ ! -e configure ]; then


++++++ libinput-elantech-pressure-levels.patch ++++++
From: [email protected]

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;

Reply via email to