touchpad: add support for per-finger hovering information
authorBenjamin Tissoires <benjamin.tissoires@gmail.com>
Wed, 6 May 2015 23:41:25 +0000 (19:41 -0400)
committerPeter Hutterer <peter.hutterer@who-t.net>
Thu, 7 May 2015 04:40:53 +0000 (14:40 +1000)
commit0cd36225d73e609647208c0b3201769ac921a3ee
treeebb9aa82bd8f1d7eb8fa6eb3a8f2231f747ca773
parent2af94a5dfd422c555ca0d1b6a27dfee8d9152867
touchpad: add support for per-finger hovering information

When the device supports true hovering, it reports this
information through ABS_MT_DISTANCE.
When this axis is available, we should rely on it to
(un)hover the touches as BTN_TOUCH is most of the time
unreliable (generated by the mouse emulation in the kernel).

Signed-off-by: Benjamin Tissoires <benjamin.tissoires@gmail.com>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
src/evdev-mt-touchpad.c
src/evdev-mt-touchpad.h
test/Makefile.am
test/litest-atmel-hover.c [new file with mode: 0644]
test/litest.c
test/litest.h
test/touchpad.c