summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2017-01-23 12:04:20 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2017-01-30 10:50:28 +1000
commitc27f9afffc19f5a259e026df912a6a283cb69a4b (patch)
tree992c53ee82ad0ff5270f6b610bde57cec4a6e6c5
parent8dfdf6b76fcaf88a88dd3e2b9ad9a0c0e3f9794d (diff)
test: make sure touch up resets pressure
Should be overridden by the test devices where something more fine-grained is needed. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-rw-r--r--test/litest.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/litest.c b/test/litest.c
index 42d97d6..c1177b8 100644
--- a/test/litest.c
+++ b/test/litest.c
@@ -1583,6 +1583,7 @@ touch_up(struct litest_device *d, unsigned int slot)
struct input_event up[] = {
{ .type = EV_ABS, .code = ABS_MT_SLOT, .value = LITEST_AUTO_ASSIGN },
{ .type = EV_ABS, .code = ABS_MT_TRACKING_ID, .value = -1 },
+ { .type = EV_ABS, .code = ABS_MT_PRESSURE, .value = 0 },
{ .type = EV_SYN, .code = SYN_REPORT, .value = 0 },
{ .type = -1, .code = -1 }
};