mirror of
https://github.com/Genymobile/scrcpy.git
synced 2026-04-21 01:33:36 +00:00
Add option to turn on the camera torch
Add --camera-torch to turn on the camera torch when the camera starts. PR #6243 <https://github.com/Genymobile/scrcpy/pull/6243> Signed-off-by: Romain Vimont <rom@rom1v.com>
This commit is contained in:
parent
968f178205
commit
553813e97d
11 changed files with 37 additions and 0 deletions
|
|
@ -18,6 +18,7 @@ _scrcpy() {
|
|||
--camera-fps=
|
||||
--camera-high-speed
|
||||
--camera-size=
|
||||
--camera-torch
|
||||
--capture-orientation=
|
||||
--crop=
|
||||
-d --select-usb
|
||||
|
|
@ -197,6 +198,7 @@ _scrcpy() {
|
|||
|--camera-id \
|
||||
|--camera-fps \
|
||||
|--camera-size \
|
||||
|--camera-torch \
|
||||
|--crop \
|
||||
|--display-id \
|
||||
|--max-fps \
|
||||
|
|
|
|||
|
|
@ -25,6 +25,7 @@ arguments=(
|
|||
'--camera-facing=[Select the device camera by its facing direction]:facing:(front back external)'
|
||||
'--camera-fps=[Specify the camera capture frame rate]'
|
||||
'--camera-size=[Specify an explicit camera capture size]'
|
||||
'--camera-torch[Turn on the camera torch when the camera starts]'
|
||||
'--capture-orientation=[Set the capture video orientation]:orientation:(0 90 180 270 flip0 flip90 flip180 flip270 @0 @90 @180 @270 @flip0 @flip90 @flip180 @flip270)'
|
||||
'--crop=[\[width\:height\:x\:y\] Crop the device screen on the server]'
|
||||
{-d,--select-usb}'[Use USB device]'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue