mirror of
https://github.com/Genymobile/scrcpy.git
synced 2025-07-30 12:48:59 +00:00
Add option to force legacy method for pasting
Some devices do not behave as expected when setting the device clipboard programmatically. Add an option --legacy-paste to change the behavior of Ctrl+v and MOD+v so that they inject the computer clipboard text as a sequence of key events (the same way as MOD+Shift+v). Fixes #1750 <https://github.com/Genymobile/scrcpy/issues/1750> Fixes #1771 <https://github.com/Genymobile/scrcpy/issues/1771>
This commit is contained in:
parent
adc547fa6e
commit
d5f059c7cb
6 changed files with 32 additions and 1 deletions
|
@ -26,6 +26,7 @@ struct input_manager {
|
|||
bool forward_key_repeat;
|
||||
bool prefer_text;
|
||||
bool forward_all_clicks;
|
||||
bool legacy_paste;
|
||||
|
||||
struct {
|
||||
unsigned data[SC_MAX_SHORTCUT_MODS];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue