From: Peter Hutterer Date: Mon, 2 Jun 2014 22:23:48 +0000 (+1000) Subject: test: fix resolution on Wacom ISDv4 E6 Finger device X-Git-Tag: 0.3.0~9 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=4d1bc5ef5f369fe67a8fa185e0a8a420e5b85cd4;p=platform%2Fupstream%2Flibinput.git test: fix resolution on Wacom ISDv4 E6 Finger device Resolution for x is 10, 9 for y. And while we're at it set the actual resolution, not the fuzz. No actual effect since resolution can't be set through uinput where we use these devices. Signed-off-by: Peter Hutterer --- diff --git a/test/litest-wacom-touch.c b/test/litest-wacom-touch.c index ca4bdf5a..b3118824 100644 --- a/test/litest-wacom-touch.c +++ b/test/litest-wacom-touch.c @@ -63,12 +63,12 @@ static struct litest_device_interface interface = { }; static struct input_absinfo absinfo[] = { - { ABS_X, 0, 2776, 75 }, - { ABS_Y, 0, 1569, 129 }, - { ABS_MT_SLOT, 0, 1, 0 }, + { ABS_X, 0, 2776, 0, 0, 10 }, + { ABS_Y, 0, 1569, 0, 0, 9 }, + { ABS_MT_SLOT, 0, 1, 0, 0, 0 }, { ABS_MT_POSITION_X, 0, 2776, 0, 0, 10 }, { ABS_MT_POSITION_Y, 0, 1569, 0, 0, 9 }, - { ABS_MT_TRACKING_ID, 0, 65535, 0 }, + { ABS_MT_TRACKING_ID, 0, 65535, 0, 0, 0 }, { .value = -1 }, };