Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

有没有那种和安卓触控minitouch类似的操作指令,鼠标按下d、鼠标移动m、鼠标抬起u? #16

Closed
dwqdaiwenqi opened this issue Dec 5, 2024 · 5 comments

Comments

@dwqdaiwenqi
Copy link

希望做到实时的拖动画面,而不是直接触发一个swipe指令

@codematrixer
Copy link
Owner

这个已支持 , 参考README中 复杂手势使用方法
复杂手势就是手指按下start,移动move,暂停pause的集合,最后运行action

@dwqdaiwenqi
Copy link
Author

dwqdaiwenqi commented Dec 5, 2024

这个已支持,参考README中复杂麦克风使用方法 复杂麦克风就是手指按启动,移动移动,暂停暂停的集合,最后运行动作

d.gesture.start(x1, y1, interval=.5).move(x2, y2).pause(interval=1).move(x3, y3).action()比如这个,只有在调用action的时候,才会整个手势触发吗?我想在调用move(x2, y2)过程中画面就会动,类似minitouch的触控,这个可以实现吗?

@dwqdaiwenqi
Copy link
Author

d.gesture.start(x1, y1, interval=.5).move(x2, y2).pause(interval=1).move(x3, y3).action()比如这个,只有在调用action的时候,才会整个手势触发吗?我想在调用move(x2, y2)过程中画面就会动,类似minitouch的触控,这个可以实现吗?

@codematrixer
Copy link
Owner

这个agent.so应该都有,我还没有实现,你可以去看看hypium的代码里找找

@dwqdaiwenqi
Copy link
Author

dwqdaiwenqi commented Dec 8, 2024

源码里找到了,感谢

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants