evdev: parse LIBINPUT_ATTR_RESOLUTION_HINT
authorPeter Hutterer <peter.hutterer@who-t.net>
Fri, 10 Jul 2015 03:59:06 +0000 (13:59 +1000)
committerPeter Hutterer <peter.hutterer@who-t.net>
Wed, 15 Jul 2015 02:49:44 +0000 (12:49 +1000)
commita13d936d7416ce678e5f10157ffd75e97d7b82e4
tree6cc1a95852c58936ea90b0c3b719192c95cb9518
parenta78efc0e2c5369b7969605c725bdd8b8943d5c6a
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>
src/evdev.c
udev/90-libinput-model-quirks.hwdb