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 <peter.hutterer@who-t.net>
This commit is contained in:
Peter Hutterer 2020-04-11 15:30:12 +10:00
parent d88ad293d2
commit f5ab18ab8f

View file

@ -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