touchpad: always enable palm detection on apple touchpads
authorPeter Hutterer <peter.hutterer@who-t.net>
Mon, 21 Jul 2014 04:20:35 +0000 (14:20 +1000)
committerPeter Hutterer <peter.hutterer@who-t.net>
Mon, 21 Jul 2014 10:20:45 +0000 (20:20 +1000)
commit0915c2c51a8b3c86c8a19abe9e572af5b58bd4ec
tree8e9353c5973a56244682966dde96c72fdec6d301
parentf179c70bb5b97185997d68ec373f74ded576f836
touchpad: always enable palm detection on apple touchpads

They don't set resolution so we can't calculate the size but we know they're
big enough to need palm detection.

And fix the descriptor for the bcm5974. For some reason this was advertising
synaptics coordinates. Fix it to represent (one of) the apple touchpads.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
src/evdev-mt-touchpad-buttons.c
src/evdev-mt-touchpad.c
src/evdev-mt-touchpad.h
test/litest-bcm5974.c
test/touchpad.c