如何使用ADB在3个或更多点上滑动? 我正在试图制作一个脚本来玩一个名为“奇妙的词”的游戏,该游戏涉及在屏幕上刷字母以填写填字游戏。 我试过 ADB外壳“输入触摸屏S ...

问题描述 投票:0回答:1

我尝试了

adb shell "input touchscreen swipe x1 y1 x2 y2 & input command touchscreen swipe x2 y2 x3 y3" like this但导致两次滑动,而不是连续滑动

问题:

input swipe
python android adb
1个回答
0
投票
,请使用类似的命令:


开始:

motionevent
drag
通过:

adb shell input motionevent DOWN [X1] [Y1]
  1. (为复杂路径添加更多adb shell input motionevent MOVE [X2] [Y2]线)
  2. 与:
  3. MOVE

    示例:
    
    
  4. adb shell input motionevent UP [X_LAST] [Y_LAST]

最新问题
© www.soinside.com 2019 - 2025. All rights reserved.