[PATCH libinput 2/3] udev: Add generic pressure range values for I2C Elan touchpads

Paul Kocialkowski contact at paulk.fr
Fri Apr 28 13:33:00 UTC 2017


This adds generic pressure range values for I2C Elan touchpads used
with device-tree. These values were tested to work with various devices
and should be acceptable in most cases.

Signed-off-by: Paul Kocialkowski <contact at paulk.fr>
---
 udev/90-libinput-model-quirks.hwdb | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/udev/90-libinput-model-quirks.hwdb b/udev/90-libinput-model-quirks.hwdb
index a111368..34f19b6 100644
--- a/udev/90-libinput-model-quirks.hwdb
+++ b/udev/90-libinput-model-quirks.hwdb
@@ -94,6 +94,9 @@ libinput:name:*ETPS/2 Elantech Touchpad*:dmi:*
 libinput:name:*ETPS/2 Elantech Touchpad*:dmi:*svnASUSTeKComputerInc.:pnUX21E:*
  LIBINPUT_ATTR_PRESSURE_RANGE=24:10
 
+libinput:name:*Elan Touchpad*:dt:*
+ LIBINPUT_ATTR_PRESSURE_RANGE=10:8
+
 ##########################################
 # Google
 ##########################################
-- 
2.12.2



More information about the wayland-devel mailing list