Debian Codegraph @

completion/_dualsensectl

raw
1 #compdef dualsensectl
2
3 (( $+functions[_dualsensectl_commands] )) ||
4 _dualsensectl_commands(){
5 local -a _dualsensectl_cmds
6
7 _dualsensectl_cmds=(
8 'power-off:turn off the controller'
9 'battery:get the controller battery level'
10 'info:Get the controller firmware info'
11 'lightbar:control the lightbar'
12 'player-leds:control the player LEDs'
13 'microphone:enable or disable microphone'
14 'microphone-led:control the microphone LED'
15 'speaker:control the sound output'
16 'volume:control the volume'
17 'attenuation: control vibration attenuation'
18 'trigger:control trigger force feedback'
19 )
20
21 if ((CURRENT == 1)); then
22 _describe -t commands 'dualsensectl commands' _dualsensectl_cmds
23 fi
24 }
25
26 _arguments \
27 '--help[Print help text]' \
28 '--version[Print version number]' \
29 '*::dualsensectl commands:_dualsensectl_commands'