Add --no-key-repeat cli option

Add an option to avoid forwarding repeated key events.

PR #1623 <https://github.com/Genymobile/scrcpy/pull/1623>
Refs #1013 <https://github.com/Genymobile/scrcpy/issues/1013>

Signed-off-by: Romain Vimont <rom@rom1v.com>
This commit is contained in:
xeropresence 2020-07-27 02:26:25 -04:00 committed by Romain Vimont
commit 84f1d9e375
6 changed files with 31 additions and 0 deletions

View file

@ -23,6 +23,7 @@ struct input_manager {
unsigned repeat;
bool control;
bool forward_key_repeat;
bool prefer_text;
struct {