mirror of
https://github.com/Genymobile/scrcpy.git
synced 2025-08-01 21:58:49 +00:00
Make --lock-video-orientation argument optional
If the option is set without argument, lock the initial device orientation (as if the value "initial" was passed).
This commit is contained in:
parent
fd0dc6c0cd
commit
5af9d0ee0f
3 changed files with 9 additions and 5 deletions
|
@ -83,11 +83,13 @@ Inject computer clipboard text as a sequence of key events on Ctrl+v (like MOD+S
|
|||
This is a workaround for some devices not behaving as expected when setting the device clipboard programmatically.
|
||||
|
||||
.TP
|
||||
.BI "\-\-lock\-video\-orientation " value
|
||||
.BI "\-\-lock\-video\-orientation " [value]
|
||||
Lock video orientation to \fIvalue\fR. Possible values are "unlocked", "initial" (locked to the initial orientation), 0, 1, 2 and 3. Natural device orientation is 0, and each increment adds a 90 degrees otation counterclockwise.
|
||||
|
||||
Default is "unlocked".
|
||||
|
||||
Passing the option without argument is equivalent to passing "initial".
|
||||
|
||||
.TP
|
||||
.BI "\-\-max\-fps " value
|
||||
Limit the framerate of screen capture (officially supported since Android 10, but may work on earlier versions).
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue