1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-09-10 15:53:34 +02:00

scrcpy: update examples (#17142)

Co-authored-by: Machiavelli <145562237+MachiavelliII@users.noreply.github.com>
This commit is contained in:
Meinard Francisco 2025-07-07 10:58:21 +08:00 committed by GitHub
parent 9153cf9fcb
commit 81300cc1cf
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -7,25 +7,25 @@
`scrcpy`
- Turn the device screen off and prevent it from sleeping while mirroring:
`scrcpy {{[-S|--turn-screen-off]}} {{[-w|--stay-awake]}}`
- Display a mirror of a specific device based on its ID or IP address (find it under the `adb devices` command):
`scrcpy --serial {{0123456789abcdef|192.168.0.1:5555}}`
`scrcpy {{[-s|--serial]}} {{0123456789abcdef|192.168.0.1:5555}}`
- Start display in fullscreen mode:
`scrcpy --fullscreen`
- Rotate the display screen. Each incremental value adds a 90 degree counterclockwise rotation:
`scrcpy --rotation {{0|1|2|3}}`
`scrcpy {{[-f|--fullscreen]}}`
- Show touches on physical device:
`scrcpy --show-touches`
`scrcpy {{[-t|--show-touches]}}`
- Record display screen:
`scrcpy --record {{path/to/file.mp4}}`
`scrcpy {{[-r|--record]}} {{path/to/file.mp4}}`
- Specify the target directory for pushing files to device by drag and drop (non-APK):