# Shortcuts
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:
```bash
# use RCtrl for shortcuts
scrcpy --shortcut-mod=rctrl
# use either LCtrl+LAlt or LSuper for shortcuts
scrcpy --shortcut-mod=lctrl+lalt,lsuper
```
_[Super] is typically the Windows or Cmd key._
[Super]: https://en.wikipedia.org/wiki/Super_key_(keyboard_button)
| Action | Shortcut
| ------------------------------------------- |:-----------------------------
| Switch fullscreen mode | MOD+f
| Rotate display left | MOD+← _(left)_
| Rotate display right | MOD+→ _(right)_
| 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 \| _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
| Enable/disable FPS counter (on stdout) | MOD+i
| Pinch-to-zoom | Ctrl+_click-and-move_
| Drag & drop APK file | Install APK from computer
| Drag & drop non-APK file | [Push file to device](control.md#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":
1. Press and keep pressing MOD.
2. Then double-press n.
3. Finally, release MOD.
All Ctrl+_key_ shortcuts are forwarded to the device, so they are
handled by the active application.