mirror of
https://github.com/rustdesk/rustdesk
synced 2026-05-24 01:18:21 +00:00
add press
This commit is contained in:
parent
73da1583da
commit
bf3fc14049
1 changed files with 2 additions and 1 deletions
|
|
@ -581,7 +581,8 @@ class FFI {
|
|||
|
||||
static void inputKey(String name) {
|
||||
if (!ffiModel.keyboard()) return;
|
||||
setByName('input_key', json.encode(modify({'name': name})));
|
||||
setByName(
|
||||
'input_key', json.encode(modify({'name': name, 'press': 'true'})));
|
||||
}
|
||||
|
||||
static void moveMouse(double x, double y) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue