[PATCH libinput 1/2] test: Fix touch_down in wacom touch test device

Jonas Ådahl jadahl at gmail.com
Tue Feb 18 11:13:57 PST 2014


Signed-off-by: Jonas Ådahl <jadahl at gmail.com>
---
 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 a33e085..464d541 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);
-- 
1.8.3.2



More information about the wayland-devel mailing list