Actions can be performed on the scrcpy window using keyboard and mouse shortcuts.
In the following list, MOD is the shortcut modifier. By default, it's (left) Alt or (left) Super.
It can be changed using --shortcut-mod
. Possible keys are lctrl
, rctrl
,
lalt
, ralt
, lsuper
and rsuper
. For example:
# use RCtrl for shortcuts
scrcpy --shortcut-mod=rctrl
# use either LCtrl or LSuper for shortcuts
scrcpy --shortcut-mod=lctrl,lsuper
Super is typically the Windows or Cmd key.
Action | Shortcut |
---|---|
Switch fullscreen mode | MOD+f |
Rotate display left | MOD+← (left) |
Rotate display right | MOD+→ (right) |
Flip display horizontally | MOD+Shift+← (left) | MOD+Shift+→ (right) |
Flip display vertically | MOD+Shift+↑ (up) | MOD+Shift+↓ (down) |
Pause or re-pause display | MOD+z |
Unpause display | MOD+Shift+z |
Reset video capture/encoding | MOD+Shift+r |
Resize window to 1:1 (pixel-perfect) | MOD+g |
Resize window to remove black borders | MOD+w | Double-left-click¹ |
Click on HOME |
MOD+h | Middle-click |
Click on BACK |
MOD+b | MOD+Backspace | Right-click² |
Click on APP_SWITCH |
MOD+s | 4th-click³ |
Click on MENU (unlock screen)⁴ |
MOD+m |
Click on VOLUME_UP |
MOD+↑ (up) |
Click on VOLUME_DOWN |
MOD+↓ (down) |
Click on POWER |
MOD+p |
Power on | Right-click² |
Turn device screen off (keep mirroring) | MOD+o |
Turn device screen on | MOD+Shift+o |
Rotate device screen | MOD+r |
Expand notification panel | MOD+n | 5th-click³ |
Expand settings panel | MOD+n+n | Double-5th-click³ |
Collapse panels | MOD+Shift+n |
Copy to clipboard⁵ | MOD+c |
Cut to clipboard⁵ | MOD+x |
Synchronize clipboards and paste⁵ | MOD+v |
Inject computer clipboard text | MOD+Shift+v |
Open keyboard settings (HID keyboard only) | MOD+k |
Enable/disable FPS counter (on stdout) | MOD+i |
Pinch-to-zoom/rotate | Ctrl+click-and-move |
Tilt vertically (slide with 2 fingers) | Shift+click-and-move |
Tilt horizontally (slide with 2 fingers) | Ctrl+Shift+click-and-move |
Drag & drop APK file | Install APK from computer |
Drag & drop non-APK file | Push file to device |
¹Double-click on black borders to remove them.
²Right-click turns the screen on if it was off, presses BACK otherwise.
³4th and 5th mouse buttons, if your mouse has them.
⁴For react-native apps in development, MENU
triggers development menu.
⁵Only on Android >= 7.
Shortcuts with repeated keys are executed by releasing and pressing the key a second time. For example, to execute "Expand settings panel":
- Press and keep pressing MOD.
- Then double-press n.
- Finally, release MOD.
All Ctrl+key shortcuts are forwarded to the device, so they are handled by the active application.