Add new shortcuts description in help
Document the new shortcuts in the help (scrcpy --help).
@@ -47,9 +47,37 @@ static void usage(const char *arg0) {
"\n"
"Shortcuts:\n"
"\n"
- " Ctrl+f: switch fullscreen mode\n"
- " Ctrl+g: resize window to 1:1 (pixel-perfect)\n"
- " Ctrl+x: resize window to optimal size (remove black borders)\n"
+ " Ctrl+f\n"
+ " switch fullscreen mode\n"
+ "\n"
+ " Ctrl+g\n"
+ " resize window to 1:1 (pixel-perfect)\n"
+ "\n"
+ " Ctrl+x\n"
+ " resize window to optimal size (remove black borders)\n"
+ "\n"
+ " Ctrl+h\n"
+ " Home\n"
+ " click on HOME\n"
+ "\n"
+ " Ctrl+b\n"
+ " Ctrl+Backspace\n"
+ " click on BACK\n"
+ "\n"
+ " Ctrl+m\n"
+ " click on APP_SWITCH\n"
+ "\n"
+ " Ctrl+'+'\n"
+ " click on VOLUME_UP\n"
+ "\n"
+ " Ctrl+'-'\n"
+ " click on VOLUME_DOWN\n"
+ "\n"
+ " Ctrl+p\n"
+ " click on POWER (turn screen on/off)\n"
+ "\n"
+ " Right-click\n"
+ " turn screen on\n"
"\n",
arg0,
DEFAULT_BIT_RATE,
