test: fix resolution on Wacom ISDv4 E6 Finger device
authorPeter Hutterer <peter.hutterer@who-t.net>
Mon, 2 Jun 2014 22:23:48 +0000 (08:23 +1000)
committerPeter Hutterer <peter.hutterer@who-t.net>
Tue, 3 Jun 2014 01:01:05 +0000 (11:01 +1000)
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 <peter.hutterer@who-t.net>
test/litest-wacom-touch.c

index ca4bdf5a229aba81615b89189a5e92e4c2dcaca2..b3118824fa2f3864e75e4e5838e563f26fa52cfb 100644 (file)
@@ -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 },
 };