Add --rotation command-line option

In addition to Ctrl+Left and Ctrl+Right shortcuts, add a command-line
parameter to set the initial rotation.
This commit is contained in:
Romain Vimont
2020-04-08 10:17:12 +02:00
parent d48b375a1d
commit 28c71c528f
7 changed files with 67 additions and 3 deletions

View File

@@ -396,7 +396,8 @@ scrcpy(const struct scrcpy_options *options) {
options->always_on_top, options->window_x,
options->window_y, options->window_width,
options->window_height,
options->window_borderless)) {
options->window_borderless,
options->rotation)) {
goto end;
}