forked from pool/libinput
Accepting request 488626 from X11:Wayland
OBS-URL: https://build.opensuse.org/request/show/488626 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libinput?expand=0&rev=43
This commit is contained in:
commit
2063709340
23
libinput-elantech-pressure-levels.patch
Normal file
23
libinput-elantech-pressure-levels.patch
Normal file
@ -0,0 +1,23 @@
|
||||
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;
|
@ -1,3 +1,10 @@
|
||||
-------------------------------------------------------------------
|
||||
Sat Apr 15 02:03:21 UTC 2017 - badshah400@gmail.com
|
||||
|
||||
- Add libinput-elantech-pressure-levels.patch to fix pressure
|
||||
sensitivity for ELANTECH touchpads causing uncomfortable
|
||||
two-finger taps, scrolls (boo#1034335, fdo#100463).
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Mar 23 09:20:46 UTC 2017 - jengelh@inai.de
|
||||
|
||||
|
@ -32,6 +32,7 @@ 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
|
||||
@ -98,6 +99,7 @@ to develop applications that require libinput.
|
||||
|
||||
%prep
|
||||
%setup -qn %name-%version
|
||||
%patch -P 1 -p1
|
||||
|
||||
%build
|
||||
if [ ! -e configure ]; then
|
||||
|
Loading…
Reference in New Issue
Block a user