-
Notifications
You must be signed in to change notification settings - Fork 25
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
Is there any method to swipe slowly? #12
Comments
|
Now it can swipe as slowly as I want. I think I solved this problem by modifying the |
Great! Could you please share a snippet about what you have modified? |
I actually just added one line in the
It works for my task.
|
Not sure if it is helpful for other tasks. if it helps, it's my pleasure to do the course PR :) |
Thanks and I have run your snippet. Maybe you should modify these args. # increase parts
device.ext_smooth_swipe(
[(500, 1900), (500, 1700)], duration=10, pressure=100, part=100
)
# or increase duration
device.ext_smooth_swipe(
[(500, 1900), (500, 1700)], duration=100, pressure=100, part=10
) It works as I expected. If not: device.ext_smooth_swipe(
[(100, 100), (400, 400), (200, 400)], duration=500, pressure=50, part=20
) Did this snippet work fine on your device? |
None of these 3 snippets work, and that's the reason why I opened this issue. |
Ah I do not have a HUAWEI device with me. It looks like a specific device issue. |
ok, thanks. After my project, I will try it on other phone to figure it out. |
device.ext_smooth_swipe(
[(600, 2000), (600, 1500)], duration=1000, pressure=100, part=100
)
It swipes so fast so I can only see the start frame and end frame.
I tried to adjust 'part' and 'duration' higher up, but didn't work and still swipe so fast.
The text was updated successfully, but these errors were encountered: