From 0a70e24e80db283596ef73700b82e46c4c341446 Mon Sep 17 00:00:00 2001 From: Romain Vimont Date: Fri, 2 Feb 2018 15:10:44 +0100 Subject: [PATCH] Add new shortcuts description in help Document the new shortcuts in the help (scrcpy --help). --- app/src/main.c | 34 +++++++++++++++++++++++++++++++--- 1 file changed, 31 insertions(+), 3 deletions(-) diff --git a/app/src/main.c b/app/src/main.c index beb25faa..6e0557a1 100644 --- a/app/src/main.c +++ b/app/src/main.c @@ -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,