mirror of
https://github.com/barry-ran/QtScrcpy.git
synced 2025-08-09 17:08:48 +00:00
feat: add click multi
This commit is contained in:
parent
1773f3ce2a
commit
41cc42a96d
7 changed files with 184 additions and 5 deletions
39
keymap/test.json
Normal file
39
keymap/test.json
Normal file
|
@ -0,0 +1,39 @@
|
|||
{
|
||||
"switchKey": "Key_QuoteLeft",
|
||||
"keyMapNodes": [
|
||||
{
|
||||
"comment": "测试一键多点",
|
||||
"type": "KMT_CLICK_MULTI",
|
||||
"key": "Key_Space",
|
||||
"clickNodes": [
|
||||
{
|
||||
"delay": 500,
|
||||
"pos": {
|
||||
"x": 0.5,
|
||||
"y": 0.5
|
||||
}
|
||||
},
|
||||
{
|
||||
"delay": 500,
|
||||
"pos": {
|
||||
"x": 0.8,
|
||||
"y": 0.8
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"comment": "测试拖拽",
|
||||
"type": "KMT_DRAG",
|
||||
"key": "Key_Up",
|
||||
"startPos": {
|
||||
"x": 0.5,
|
||||
"y": 0.7
|
||||
},
|
||||
"endPos": {
|
||||
"x": 0.5,
|
||||
"y": 0.3
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue