libinput/tools
Peter Hutterer 9925594257 tools/record: print the wall clock time every few seconds
For long-running recordings it's useful to know what the actual time was when
a particular event occured. A user can simply check the clock or system logs
for the time and thus know which portion of the recording to focus on.

Let's print the time into the recording, every 5 seconds (aligned at the 5,
10, 15s marks) or, if no events occured in the last 5 seconds, before the next
event. This granularity should be enough to identify the interesting parts of
a recording.

Let's print this as a comment until we have a use-case that requires parsing
this data.

The timer is the simplest approach, it just repeats at a fixed 5 seconds
interval from startup. There may be time drift, we can fix that if needed.

Fixes #560

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2021-01-29 07:31:46 +10:00
..
libinput-analyze-per-slot-delta.man tools: per-slot-delta: add arguments to set a threshold and ignore-below 2020-04-11 14:35:27 +10:00
libinput-analyze-per-slot-delta.py Use python black for all pyhon file formatting 2021-01-28 21:02:45 +00:00
libinput-analyze.c tools: add a libinput analyze command with the per-slot-delta subcommand 2020-03-16 08:35:43 +10:00
libinput-analyze.man tools: add a libinput analyze command with the per-slot-delta subcommand 2020-03-16 08:35:43 +10:00
libinput-debug-events.c tools/debug-events: rework touch event printing 2020-10-21 09:09:50 +10:00
libinput-debug-events.man tools: fix typo in debug-events man page 2020-01-31 17:28:15 +10:00
libinput-debug-gui.c tools: print the libinput_dispatch() counter for debugging messages 2020-10-06 16:12:17 +10:00
libinput-debug-gui.man tools: debug-gui: show pressure/distance as vertical bar 2019-11-01 08:38:59 +10:00
libinput-debug-tablet.c tools: only call libinput_dispatch() once per poll 2020-10-06 16:12:17 +10:00
libinput-debug-tablet.man tools: add a tablet debugging tool 2019-11-19 09:56:14 +10:00
libinput-list-devices.c [clang-tidy] do not use else after return 2020-08-27 01:17:24 -07:00
libinput-list-devices.man libinput-list-devices: make paragraph about different settings terser 2019-10-28 05:40:02 +00:00
libinput-measure-fuzz.man touchpad: add a tool to measure the touchpad fuzz 2018-05-15 13:51:33 +10:00
libinput-measure-fuzz.py Use python black for all pyhon file formatting 2021-01-28 21:02:45 +00:00
libinput-measure-touch-size.man tools: touch-size: update to use the device quirks 2018-06-21 11:48:41 +10:00
libinput-measure-touch-size.py Use python black for all pyhon file formatting 2021-01-28 21:02:45 +00:00
libinput-measure-touchpad-pressure.man tools: make the thumb threshold configurable while measuring pressure 2020-03-30 14:45:19 +10:00
libinput-measure-touchpad-pressure.py Use python black for all pyhon file formatting 2021-01-28 21:02:45 +00:00
libinput-measure-touchpad-size.man treewide: fix typos 2020-12-16 22:08:23 +01:00
libinput-measure-touchpad-size.py Use python black for all pyhon file formatting 2021-01-28 21:02:45 +00:00
libinput-measure-touchpad-tap.man treewide: fix typos 2020-12-16 22:08:23 +01:00
libinput-measure-touchpad-tap.py Use python black for all pyhon file formatting 2021-01-28 21:02:45 +00:00
libinput-measure.c libinput-measure.c: remove unused includes 2019-09-13 00:07:39 +03:00
libinput-measure.man tools: add a measure touchpad-size tool 2020-03-30 15:14:45 +10:00
libinput-quirks.c check return value for udev_new() 2020-09-15 10:42:47 +08:00
libinput-quirks.man tools: rename list-quirks to the more generic "quirks list" 2018-07-03 15:16:59 +10:00
libinput-record-verify-yaml.py Use python black for all pyhon file formatting 2021-01-28 21:02:45 +00:00
libinput-record.c tools/record: print the wall clock time every few seconds 2021-01-29 07:31:46 +10:00
libinput-record.man tools/record: add --grab option 2020-09-16 23:59:57 +00:00
libinput-replay Use python black for all pyhon file formatting 2021-01-28 21:02:45 +00:00
libinput-replay.man tools: add a libinput-replay tool 2018-03-01 11:50:46 +10:00
libinput-tool.c tools: add libinput analyze to the libinput tool help output 2020-03-29 15:33:24 +10:00
libinput.man man: install the analyze per-slot-delta man page 2020-03-20 16:10:11 +10:00
make-ptraccel-graphs.sh tools: make-ptraccel-graphs: drop an unnecessary outfile 2018-07-11 16:04:59 +10:00
ptraccel-debug.c Add quirk to control velocity averaging, disable it by default 2018-08-22 12:12:55 +02:00
shared.c tools: print the AttrEventCodeEnable and AttrInputPropEnable/Disable quirks 2020-11-10 14:27:22 +10:00
shared.h tools: print the libinput_dispatch() counter for debugging messages 2020-10-06 16:12:17 +10:00
test_tool_option_parsing.py Use python black for all pyhon file formatting 2021-01-28 21:02:45 +00:00