Reputation: 49
I want to tap the two buttons on the screen to pass their coordinates by adb at the same time。I only know click one at the same time,like this:
adb -s fe158b68 shell input tap 975 1412
Can anyone tell me what to do?
Upvotes: 0
Views: 1659
Reputation: 1828
Try to use something like this:
adb shell "input keyevent 67 && input keyevent 67"
To click on two different coordinates on the screen, Use this
input tap x1 y1 && input tap x2 y2
where x1,y1 and x2,y2 are two different coordinates
Upvotes: 2