mirror of
https://github.com/Genymobile/scrcpy.git
synced 2025-09-07 01:55:50 +00:00
Add --prefer-text option
Expose an option to configure how key/text events are forwarded to the Android device. Enabling the option avoids issues when combining multiple keys to enter special characters, but breaks the expected behavior of alpha keys in games (typically WASD). Fixes <https://github.com/Genymobile/scrcpy/issues/650>
This commit is contained in:
parent
ff061b4f30
commit
c916af0984
8 changed files with 49 additions and 10 deletions
|
@ -61,6 +61,13 @@ Set the TCP port the client listens on.
|
|||
|
||||
Default is 27183.
|
||||
|
||||
.TP
|
||||
.B \-\-prefer\-text
|
||||
Inject alpha characters and space as text events instead of key events.
|
||||
|
||||
This avoids issues when combining multiple keys to enter special characters,
|
||||
but breaks the expected behavior of alpha keys in games (typically WASD).
|
||||
|
||||
.TP
|
||||
.BI "\-\-push\-target " path
|
||||
Set the target directory for pushing files to the device by drag & drop. It is passed as\-is to "adb push".
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue