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

device.view_long_touch(x=x, y=y, duration=200) in TouchEvent(UIEvent) #124

Open
chicharitomu14 opened this issue Mar 5, 2021 · 1 comment

Comments

@chicharitomu14
Copy link

In this situation, all touch events are performed as long-touch events. Why not using device.view_touch(x, y) here? And device.view_touch(x, y) is not called in the whole project.

droidbot

@yuanchun-li
Copy link
Collaborator

yuanchun-li commented Mar 26, 2021

In some apps that I tested, using view_touch couldn't correctly trigger the touch event, while the 200ms-long touch could stably do the trick. I don't know why...

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