summaryrefslogtreecommitdiff
path: root/udev
diff options
context:
space:
mode:
authorPaul Kocialkowski <contact@paulk.fr>2017-04-28 15:33:00 +0200
committerPeter Hutterer <peter.hutterer@who-t.net>2017-06-07 09:33:33 +1000
commit596777a3147d4070f9598f051f6d7ae96fa2f49a (patch)
treeaa135f7b1faeabdf7a9c47b451a99edc7a083602 /udev
parent1603a4326a6e7e8197807f1330bd9b31f0634321 (diff)
udev: Add generic pressure range values for I2C Elan touchpads
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@paulk.fr> Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net> Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'udev')
-rw-r--r--udev/90-libinput-model-quirks.hwdb3
1 files changed, 3 insertions, 0 deletions
diff --git a/udev/90-libinput-model-quirks.hwdb b/udev/90-libinput-model-quirks.hwdb
index 75b374d..000441f 100644
--- a/udev/90-libinput-model-quirks.hwdb
+++ b/udev/90-libinput-model-quirks.hwdb
@@ -100,6 +100,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
##########################################