AutoJs6
AutoJs6 copied to clipboard
Root 的 touchMove 无效
touchDown 无效,修改过android 源码的 /dev/input/event 后生效 但是 touchMove 还是无效
可尝试以下代码测试按下并移动的实际效果:
let ra = new RootAutomator();
ra.touchDown(200, 300, 1);
sleep(2e3)
ra.touchMove(300, 600, 1);
sleep(1000);
ra.touchUp(1)
ra.exit();