mirror of
https://github.com/Genymobile/scrcpy.git
synced 2026-04-21 01:33:36 +00:00
Add option to specify the camera zoom
Add --camera-zoom to specify the camera zoom. PR #6243 <https://github.com/Genymobile/scrcpy/pull/6243> Signed-off-by: Romain Vimont <rom@rom1v.com>
This commit is contained in:
parent
1018f3e9be
commit
af355804ef
12 changed files with 79 additions and 1 deletions
|
|
@ -360,6 +360,10 @@ execute_server(struct sc_server *server,
|
|||
if (params->camera_torch) {
|
||||
ADD_PARAM("camera_torch=true");
|
||||
}
|
||||
if (params->camera_zoom) {
|
||||
VALIDATE_STRING(params->camera_zoom);
|
||||
ADD_PARAM("camera_zoom=%s", params->camera_zoom);
|
||||
}
|
||||
if (params->show_touches) {
|
||||
ADD_PARAM("show_touches=true");
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue