mirror of
https://gitlab.freedesktop.org/libinput/libinput.git
synced 2025-12-20 04:30:06 +01:00
completion: add the new libinput debug-tablet to the zsh completion files
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
parent
f87a6203ee
commit
61ce80c5b1
1 changed files with 10 additions and 0 deletions
|
|
@ -7,6 +7,7 @@
|
|||
"list-devices:List all devices recognized by libinput"
|
||||
"debug-events:Print all events as seen by libinput"
|
||||
"debug-gui:Show a GUI to visualize libinput's events"
|
||||
"debug-tablet:Show tablet axis and button values"
|
||||
"measure:Measure various properties of devices"
|
||||
"record:Record the events from a device"
|
||||
"replay:Replay the events from a device"
|
||||
|
|
@ -89,6 +90,15 @@ __all_seats()
|
|||
'--udev=[Listen for notifications on the given seat]:seat:_libinput_all_seats'
|
||||
}
|
||||
|
||||
(( $+functions[_libinput_debug-tablet] )) || _libinput_debug-tablet()
|
||||
{
|
||||
_arguments \
|
||||
'--help[Show debug-tablet help and exit]' \
|
||||
'--device=[Use the given device with the path backend]:device:_files -W /dev/input/ -P /dev/input/' \
|
||||
'--udev=[Use the first tablet device on the given seat]:seat:_libinput_all_seats'
|
||||
}
|
||||
|
||||
|
||||
(( $+functions[_libinput_measure] )) || _libinput_measure()
|
||||
{
|
||||
local curcontext=$curcontext state line ret=1
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue