Add --raw-key-events
This option allows to inject all input keys as key events, and ignore text events. Fixes #2816 <https://github.com/Genymobile/scrcpy/issues/2816> PR #2831 <https://github.com/Genymobile/scrcpy/pull/2831>
This commit is contained in:
@@ -47,6 +47,9 @@ enum sc_key_inject_mode {
|
||||
// Inject special keys as key events.
|
||||
// Inject letters and space, numbers and punctuation as text events.
|
||||
SC_KEY_INJECT_MODE_TEXT,
|
||||
|
||||
// Inject everything as key events.
|
||||
SC_KEY_INJECT_MODE_RAW,
|
||||
};
|
||||
|
||||
#define SC_MAX_SHORTCUT_MODS 8
|
||||
|
||||
Reference in New Issue
Block a user