Update cheatsheets

This commit is contained in:
ivuorinen
2026-03-17 00:27:40 +00:00
parent 6ccb3a7063
commit b991df9a48
3 changed files with 23 additions and 11 deletions

View File

@@ -20,10 +20,6 @@ source: https://github.com/tldr-pages/tldr.git
`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]}}`
@@ -35,3 +31,11 @@ source: https://github.com/tldr-pages/tldr.git
- 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`