默默磊OK
默默磊OK

Reputation: 49

how to click two button at the same time by adb shell ?

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

Answers (1)

GOVIND DIXIT
GOVIND DIXIT

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

Related Questions