Closed instasck closed 2 years ago
Of course, you can send this series of events. However, scrolling events on android itself is not reproducible.
scrolling
I see you have the "swipe" option, it is not different from scroll I guess I meant swipe. I need someone to do a job for me, so please tell me if you know anyone: I need to send the events as recorded in getevents. I need to change the device ID used in the motion event over scrcpy (to be sent from the client side)
What's the format of your recorded scroll? To begin with, you need to parse it. Then, you can use scrcpy-client to construct events and dispatch them manually.
Please refer to the getevent's document https://source.android.com/devices/input/getevent. However, it is hard to use scrcpy to dispatch all kinds of native android events, you can consider ADB's sendevent
instead.
Please refer to the getevent's document https://source.android.com/devices/input/getevent. However, it is hard to use scrcpy to dispatch all kinds of native android events, you can consider ADB's
sendevent
instead.
The issue is that android 10 locked it access to sendevent, I am looking for a solution to that. What will be the different from scrcpy to real touch screen since I know it send the ACTION_DOWN, MOVE, ACTION_UP what the software we controll over in android will see different ? I know touch id is one of them
There are so many differences... You will find that scrcpy has much fewer operations than the sendevent.
I have the following recorded scroll:
I want to replay it using scrcpy, can it be done ?