test: Fix touch_down in wacom touch test device

Signed-off-by: Jonas Ådahl <jadahl@gmail.com>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
Jonas Ådahl 2014-02-18 20:13:57 +01:00 committed by Peter Hutterer
parent 63f192c466
commit 295578bc2d

View file

@ -54,8 +54,8 @@ litest_wacom_touch_touch_down(struct litest_device *d,
down[0].value = litest_scale(d, ABS_X, x);
down[1].value = litest_scale(d, ABS_Y, y);
down[5].value = litest_scale(d, ABS_X, x);
down[6].value = litest_scale(d, ABS_Y, y);
down[4].value = litest_scale(d, ABS_X, x);
down[5].value = litest_scale(d, ABS_Y, y);
ARRAY_FOR_EACH(down, ev)
litest_event(d, ev->type, ev->code, ev->value);