From f5ab18ab8f92d9f1f03524eacef5415f1c8bbdac Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Sat, 11 Apr 2020 15:30:12 +1000 Subject: [PATCH] tools: per-slot-delta: always mark slot 0 as used If a device never sends ABS_MT_SLOT, our output was emtpy. Signed-off-by: Peter Hutterer --- tools/libinput-analyze-per-slot-delta.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/libinput-analyze-per-slot-delta.py b/tools/libinput-analyze-per-slot-delta.py index e40a7df4..07df3f42 100755 --- a/tools/libinput-analyze-per-slot-delta.py +++ b/tools/libinput-analyze-per-slot-delta.py @@ -179,6 +179,7 @@ def main(argv): nslots = 1 slots = [Slot(i) for i in range(0, nslots)] + slots[0].used = True marker_button = "..............." # noqa