projects
/
platform
/
upstream
/
libinput.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
63f192c
)
test: Fix touch_down in wacom touch test device
author
Jonas Ådahl
<jadahl@gmail.com>
Tue, 18 Feb 2014 19:13:57 +0000
(20:13 +0100)
committer
Peter Hutterer
<peter.hutterer@who-t.net>
Thu, 20 Feb 2014 01:30:08 +0000
(11:30 +1000)
Signed-off-by: Jonas Ådahl <jadahl@gmail.com>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
test/litest-wacom-touch.c
patch
|
blob
|
history
diff --git
a/test/litest-wacom-touch.c
b/test/litest-wacom-touch.c
index
a33e085
..
464d541
100644
(file)
--- 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);