touchpad: normalize the touchpad resolution to 400dpi, not 10 units/mm
authorPeter Hutterer <peter.hutterer@who-t.net>
Tue, 8 Jul 2014 03:43:45 +0000 (13:43 +1000)
committerPeter Hutterer <peter.hutterer@who-t.net>
Wed, 9 Jul 2014 02:50:37 +0000 (12:50 +1000)
commite874d09b49d34f4e67b7815cd3632f902c281432
tree3749a2d4e8bcd2e11778dedffa9d97624d8fb9e7
parent468e6288082ee61ac6a4663726a2728e413804e1
touchpad: normalize the touchpad resolution to 400dpi, not 10 units/mm

In an attempt to bring method into the madness, normalize the touchpad deltas
to those of a USB mouse with 400 dpi. This way the data we're dealing with in
the acceleration code is of a known quantity.

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