工具简介
This application provides display and control of Android devices connected on USB (or over TCP/IP). It does not require any root access. It works on GNU/Linux, Windows and macOS.
本应用程序可以显示并控制通过 USB (或 TCP/IP) 连接的安卓设备,且不需要任何 root 权限。本程序支持 GNU/Linux, Windows 和 macOS。
常用命令
.scrcpy.exe -m 600 -b 100M --max-fps 60 --window-title 'Pixel XL' --always-on-top -Sw -t --push-target /sdcard/Download/From_computer/
E:Stand_alonescrcpyscrcpy.exe --max-fps 60 --window-title 'Pixel XL' --always-on-top -Sw -t --push-target /sdcard/Download/From_computer/
--max-size -m # short version high
--bit-rate -b
--max-fps
--stay-awake -w
--turn-screen-off -S
--show-touches -t
Shortcuts
| Action | Shortcut | Shortcut (macOS) |
|---|---|---|
| Switch fullscreen mode | Ctrl+f |
Cmd+f |
| Rotate display left | Ctrl+← (left) |
Cmd+← (left) |
| Rotate display right | Ctrl+→ (right) |
Cmd+→ (right) |
| Resize window to 1:1 (pixel-perfect) | Ctrl+g |
Cmd+g |
| Resize window to remove black borders | Ctrl+x | Double-click¹ |
Cmd+x | Double-click¹ |
Click on HOME |
Ctrl+h | Middle-click |
Ctrl+h | Middle-click |
Click on BACK |
Ctrl+b | Right-click² |
Cmd+b | Right-click² |
Click on APP_SWITCH |
Ctrl+s |
Cmd+s |
Click on MENU |
Ctrl+m |
Ctrl+m |
Click on VOLUME_UP |
Ctrl+↑ (up) |
Cmd+↑ (up) |
Click on VOLUME_DOWN |
Ctrl+↓ (down) |
Cmd+↓ (down) |
Click on POWER |
Ctrl+p |
Cmd+p |
| Power on | Right-click² | Right-click² |
| Turn device screen off (keep mirroring) | Ctrl+o |
Cmd+o |
| Turn device screen on | Ctrl+Shift+o |
Cmd+Shift+o |
| Rotate device screen | Ctrl+r |
Cmd+r |
| Expand notification panel | Ctrl+n |
Cmd+n |
| Collapse notification panel | Ctrl+Shift+n |
Cmd+Shift+n |
| Copy device clipboard to computer | Ctrl+c |
Cmd+c |
| Copy computer clipboard to device and paste | Ctrl+Shift+v |
Cmd+Shift+v |
| Enable/disable FPS counter (on stdout) | Ctrl+i |
Cmd+i |
¹Double-click on black borders to remove them.
²Right-click turns the screen on if it was off, presses BACK otherwise.
本文由Tsanfer's Blog 发布!