diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2015-07-10 13:59:06 +1000 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2015-07-15 12:49:44 +1000 |
commit | a13d936d7416ce678e5f10157ffd75e97d7b82e4 (patch) | |
tree | 6cc1a95852c58936ea90b0c3b719192c95cb9518 /udev | |
parent | a78efc0e2c5369b7969605c725bdd8b8943d5c6a (diff) |
evdev: parse LIBINPUT_ATTR_RESOLUTION_HINT
For Elantech touchpads, we know that the resolution is 31u/mm (800dpi) for
v1-v3 firmware. Set this as a hint until we get either the kernel or systemd
to set this for us.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'udev')
-rw-r--r-- | udev/90-libinput-model-quirks.hwdb | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/udev/90-libinput-model-quirks.hwdb b/udev/90-libinput-model-quirks.hwdb index 730b115..eec00b6 100644 --- a/udev/90-libinput-model-quirks.hwdb +++ b/udev/90-libinput-model-quirks.hwdb @@ -35,6 +35,12 @@ libinput:touchpad:input:b0005v05ACp* LIBINPUT_ATTR_SIZE_HINT=104x75 ########################################## +# Elantech +########################################## +libinput:name:*ETPS/2 Elantech Touchpad*:dmi:* + LIBINPUT_ATTR_RESOLUTION_HINT=31x31 + +########################################## # Google ########################################## |