Skip to content

Commit

Permalink
quirks: extend/restore the Elan Touchpads quirks
Browse files Browse the repository at this point in the history
The hwdb match entry used to be this one:
 libinput:name:*Elan Touchpad*:dt:*
  LIBINPUT_ATTR_PRESSURE_RANGE=10:8
from commit 596777a. 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>
  • Loading branch information
whot committed Sep 17, 2018
1 parent 9e701aa commit dcfea54
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions quirks/30-vendor-elantech.quirks
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,8 @@
MatchName=*Elantech Touchpad*
AttrResolutionHint=31x31
AttrPressureRange=10:8

[Elan Touchpads]
MatchName=*Elan Touchpad*
AttrResolutionHint=31x31
AttrPressureRange=10:8

0 comments on commit dcfea54

Please sign in to comment.