mirror of
https://github.com/tldr-pages/tldr.git
synced 2026-08-28 11:25:16 +08:00
scrcpy: add and replace examples (#21549)
Co-authored-by: Meinard Francisco <44516102+znarfm@users.noreply.github.com>
This commit is contained in:
@@ -15,10 +15,6 @@
|
||||
|
||||
`scrcpy {{[-s|--serial]}} {{0123456789abcdef|192.168.0.1:5555}}`
|
||||
|
||||
- Start display in fullscreen mode:
|
||||
|
||||
`scrcpy {{[-f|--fullscreen]}}`
|
||||
|
||||
- Show touches on physical device:
|
||||
|
||||
`scrcpy {{[-t|--show-touches]}}`
|
||||
@@ -30,3 +26,11 @@
|
||||
- Specify the target directory for pushing files to device by drag and drop (non-APK):
|
||||
|
||||
`scrcpy --push-target {{path/to/directory}}`
|
||||
|
||||
- View the phone's camera (requires Android 12 or newer):
|
||||
|
||||
`scrcpy --video-source camera`
|
||||
|
||||
- Create a Video4Linux2 device from the phone's camera (`v4l2loopback` must be installed):
|
||||
|
||||
`scrcpy --video-source camera --camera-size {{1920x1080}} --v4l2-sink {{/dev/video0}} --no-playback`
|
||||
|
||||
Reference in New Issue
Block a user