test: reduce sideways-component in two-finger scroll test
authorPeter Hutterer <peter.hutterer@who-t.net>
Tue, 15 Jul 2014 06:32:33 +0000 (16:32 +1000)
committerPeter Hutterer <peter.hutterer@who-t.net>
Sun, 20 Jul 2014 22:56:12 +0000 (08:56 +1000)
commit475665efdf21641d5f18c02c3862138197c33466
tree9d1c36b42416b56ba57f84da87504bd5d07854b2
parent489630f58b2ac099bf235efc5dfd9cd854c223ee
test: reduce sideways-component in two-finger scroll test

This breaks when we have a device resolution set on the test devices,
specificially on the T440. The current tests use a delta of 1% of the device
which with the resolution set results in an effective delta of 3 - above the
scroll threshold.

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