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
|
|
@ -357,6 +357,9 @@ execute_server(struct sc_server *server,
|
|||
if (params->camera_high_speed) {
|
||||
ADD_PARAM("camera_high_speed=true");
|
||||
}
|
||||
if (params->camera_torch) {
|
||||
ADD_PARAM("camera_torch=true");
|
||||
}
|
||||
if (params->show_touches) {
|
||||
ADD_PARAM("show_touches=true");
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue