From 295578bc2d27b36ae02d8874460e8fca983f3491 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonas=20=C3=85dahl?= Date: Tue, 18 Feb 2014 20:13:57 +0100 Subject: [PATCH] test: Fix touch_down in wacom touch test device MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Jonas Ã…dahl Signed-off-by: Peter Hutterer --- test/litest-wacom-touch.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/litest-wacom-touch.c b/test/litest-wacom-touch.c index a33e0852..464d541e 100644 --- a/test/litest-wacom-touch.c +++ b/test/litest-wacom-touch.c @@ -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);