mirror of
https://gitlab.freedesktop.org/libinput/libinput.git
synced 2026-03-21 13:20:42 +01:00
Merge branch 'wip/record-missing-last-time' into 'main'
tools/record: fix delta times not being relative See merge request libinput/libinput!1448
This commit is contained in:
commit
22eb82535f
1 changed files with 1 additions and 0 deletions
|
|
@ -257,6 +257,7 @@ print_evdev_event(struct record_device *dev, struct input_event *ev)
|
|||
|
||||
usec_t time = input_event_time(ev);
|
||||
usec_t dt = usec_delta(time, last_time);
|
||||
last_time = time;
|
||||
|
||||
snprintf(desc,
|
||||
sizeof(desc),
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue