quirks: extend/restore the Elan Touchpads quirks
authorPeter Hutterer <peter.hutterer@who-t.net>
Mon, 17 Sep 2018 21:02:27 +0000 (07:02 +1000)
committerPeter Hutterer <peter.hutterer@who-t.net>
Mon, 17 Sep 2018 21:18:34 +0000 (07:18 +1000)
The hwdb match entry used to be this one:
 libinput:name:*Elan Touchpad*:dt:*
  LIBINPUT_ATTR_PRESSURE_RANGE=10:8
from commit 596777a3147d4070f9598f051f6d7ae96fa2f49a. It was intended to match
for devicetree only but the way the udev rules were composed, it ended up
matching on any system.

Restore that for all systems to have compatibility with 1.11. For this one,
let's also add the resolution hint and hope that that works too.

Fixes #140

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
quirks/30-vendor-elantech.quirks

index e49c341..9b3a1ba 100644 (file)
@@ -4,3 +4,8 @@
 MatchName=*Elantech Touchpad*
 AttrResolutionHint=31x31
 AttrPressureRange=10:8
+
+[Elan Touchpads]
+MatchName=*Elan Touchpad*
+AttrResolutionHint=31x31
+AttrPressureRange=10:8