Change volume shortcuts

I could not make Ctrl+'+' and Ctrl+'-' work for every keyboard on every
platform.

Instead, use Ctrl+UP and Ctrl+DOWN (like in VLC) to change the volume.

Fixes <https://github.com/Genymobile/scrcpy/issues/103>.
This commit is contained in:
Romain Vimont
2018-04-03 14:20:33 +02:00
parent 71f50fb697
commit 1bddb80b5f
3 changed files with 10 additions and 21 deletions

View File

@@ -81,10 +81,10 @@ static void usage(const char *arg0) {
" Ctrl+m\n"
" click on MENU\n"
"\n"
" Ctrl+'+'\n"
" Ctrl+Up\n"
" click on VOLUME_UP\n"
"\n"
" Ctrl+'-'\n"
" Ctrl+Down\n"
" click on VOLUME_DOWN\n"
"\n"
" Ctrl+p\n"