doc: update docs to use a .yml suffix for libinput recorded files

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
Peter Hutterer 2018-06-21 13:49:41 +10:00
parent 8684900464
commit 18e397446f

View file

@ -146,7 +146,7 @@ Wayland or even what version of libinput is currently running.
The use of the tools is straightforward, just run without arguments, piping The use of the tools is straightforward, just run without arguments, piping
the output into a file: the output into a file:
@verbatim @verbatim
$ sudo libinput record > touchpad.log $ sudo libinput record > touchpad.yml
Available devices: Available devices:
/dev/input/event0: Lid Switch /dev/input/event0: Lid Switch
/dev/input/event1: Sleep Button /dev/input/event1: Sleep Button
@ -186,7 +186,7 @@ alphanumeric key shows up as letter "a".
The recording can be replayed with the `libinput replay` command: The recording can be replayed with the `libinput replay` command:
@verbatim @verbatim
$ sudo libinput replay touchpad.log $ sudo libinput replay touchpad.yml
SynPS/2 Synaptics TouchPad: /dev/input/event19 SynPS/2 Synaptics TouchPad: /dev/input/event19
Hit enter to start replaying Hit enter to start replaying
@endverbatim @endverbatim
@ -213,8 +213,8 @@ devices must be correct and we need to record the events in one go.
once. Unlike the normal invocation, this one requires a number of arguments: once. Unlike the normal invocation, this one requires a number of arguments:
@verbatim @verbatim
$ sudo libinput record --multiple --output-file=touchpad-bug.log /dev/input/event17 /dev/input/event3 $ sudo libinput record --multiple --output-file=touchpad-bug.yml /dev/input/event17 /dev/input/event3
recording to 'touchpad-bug.log' recording to 'touchpad-bug.yml'
@endverbatim @endverbatim
As seen above, a user must specify `--multiple` and the `--output-file`. As seen above, a user must specify `--multiple` and the `--output-file`.
@ -223,7 +223,7 @@ well.
Replaying events is the same as for a single recording: Replaying events is the same as for a single recording:
@verbatim @verbatim
$ sudo libinput replay touchpad-bug.log $ sudo libinput replay touchpad-bug.yml
@endverbatim @endverbatim
@subsection libinput-measure Measuring device properties with libinput measure @subsection libinput-measure Measuring device properties with libinput measure