Merge branch 'wip/document-compress' into 'main'

tools: add --compress-motion-events to the man page and zsh completion

See merge request libinput/libinput!1443
This commit is contained in:
Peter Hutterer 2026-03-13 11:25:33 +10:00
commit 801c105041
2 changed files with 5 additions and 0 deletions

View file

@ -45,6 +45,7 @@ __all_seats()
'--verbose[Use verbose output]' \
'--show-keycodes[Make all keycodes visible]' \
'--grab[Exclusively grab all opened devices]' \
'--compress-motion-events[Compress repeated motion events on a TTY]' \
'--device=[Use the given device with the path backend]:device:_files -W /dev/input/ -P /dev/input/' \
'--udev=[Listen for notifications on the given seat]:seat:__all_seats' \
'--apply-to=[Apply configuration options where the device name matches the pattern]:pattern' \

View file

@ -20,6 +20,10 @@ This tool usually needs to be run as root to have access to the
/dev/input/eventX nodes.
.SH OPTIONS
.TP 8
.B \-\-compress\-motion\-events
Compress repeated motion, axis, scrool, and gesture update
events into a single line. This only takes effect if stdout is a TTY.
.TP 8
.B \-\-device \fI/dev/input/event0\fR
Use the given device(s) with the path backend. The \fB\-\-device\fR argument may be
omitted.