libinput/tools/libinput-replay.man
Peter Hutterer 578151da61 tools: add a libinput-replay tool
Similar in style to evemu-play but parses the YAML printed by
libinput-record. Note that this tool requires python-libevdev which is a new
package and may not be packaged by your distribution. Install with pip3 or
alternatively, just ignore libinput-replay, it's a developer tool only anyway.

User-visible differences to evemu-play:
* supports replaying multiple devices at the same time.
* no replaying on a specific device, we can add this if we ever need it
* --verbose prints the event to stdout as we are replaying them. This is
  particularly useful on long recordings - once the bug occurs we can ctrl+c
  and match up the last few lines with the recordings file. This allows us to
  e.g. drop the rest of the file.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2018-03-01 11:50:46 +10:00

28 lines
815 B
Groff

.TH libinput-replay "1"
.SH NAME
libinput\-replay \- replay kernel events from a recording
.SH SYNOPSIS
.B libinput replay [options] \fIrecording\fB
.SH DESCRIPTION
.PP
The \fBlibinput replay\fR tool replays kernel events from a device recording
made by the \fBlibinput record(1)\fR tool. This tool needs to run as root to
create a device and/or replay events.
.PP
If the recording contains more than one device, all devices are replayed
simultaneously.
.SH OPTIONS
.TP 8
.B \-\-help
Print help
.SH NOTES
.PP
This tool replays events from a recording through the the kernel and is
independent of libinput. In other words, updating or otherwise changing
libinput will not alter the output from this tool. libinput itself does not
need to be in use to replay events.
.SH LIBINPUT
.PP
Part of the
.B libinput(1)
suite