Map right-click to BACK if screen is on

Right-click was used to turn the screen on. It did nothing when the
screen was already on.

Instead, in that case, press BACK (like Vysor).

Suggested by: <https://www.reddit.com/r/Android/comments/834zmr/introducing_scrcpy_an_app_to_display_and_control/dvfueft/>
This commit is contained in:
Romain Vimont
2018-03-10 00:11:52 +01:00
parent 9396ea6d42
commit 675704c71c
5 changed files with 16 additions and 8 deletions

View File

@@ -199,10 +199,12 @@ To run without installing:
| click on `VOLUME_UP` | `Ctrl`+`+` |
| click on `VOLUME_DOWN` | `Ctrl`+`-` |
| click on `POWER` | `Ctrl`+`p` |
| turn screen on | _Right-click_ |
| turn screen on or press BACK¹ | _Right-click_ |
| paste computer clipboard to device | `Ctrl`+`v` |
| enable/disable FPS counter (on stdout) | `Ctrl`+`i` |
_¹ Press BACK if the screen is already on._
## Why _scrcpy_?