tools/replay: search for the first event with a timestamp
authorPeter Hutterer <peter.hutterer@who-t.net>
Fri, 19 Feb 2021 03:31:56 +0000 (13:31 +1000)
committerPeter Hutterer <peter.hutterer@who-t.net>
Tue, 23 Feb 2021 00:43:52 +0000 (10:43 +1000)
commitf30342644aea46deffe9373796a9c25fa521bc48
treee823eeaa54e7274ac01591e41d770aec04ea8247
parent59ca9718987d831ffc17ecf0a7df3817727f928a
tools/replay: search for the first event with a timestamp

When running with --with-libinput, the first event is the DEVICE_ADDED event
for our device. Those events do not have a timestamp.

We have to find the first event in the recording with a timestamp instead.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
tools/libinput-replay