我尝试了
adb shell "input touchscreen swipe x1 y1 x2 y2 & input command touchscreen swipe x2 y2 x3 y3"
但导致两次滑动,而不是连续滑动
问题:
input swipe
开始:
motionevent
drag通过:
adb shell input motionevent DOWN [X1] [Y1]
adb shell input motionevent MOVE [X2] [Y2]
线)MOVE
adb shell input motionevent UP [X_LAST] [Y_LAST]