mirror of
https://gitlab.freedesktop.org/libinput/libinput.git
synced 2025-12-25 17:30:06 +01:00
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>
This commit is contained in:
parent
8dfdf6b76f
commit
c27f9afffc
1 changed files with 1 additions and 0 deletions
|
|
@ -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 }
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue