From c27f9afffc19f5a259e026df912a6a283cb69a4b Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Mon, 23 Jan 2017 12:04:20 +1000 Subject: [PATCH] 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 --- test/litest.c | 1 + 1 file changed, 1 insertion(+) diff --git a/test/litest.c b/test/litest.c index 42d97d67..c1177b8f 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 } };