Adb Shell Getevent Method Returns Twice The Value For X And Y On Nexus 4
I am currently trying to generate a complex gesture via the sendevent command of adb shell. In order to replay a gesture, I recorded the events via the getevent method of adb. Here
Solution 1:
Those are input
device (i.e. touch screen) coordinates. Touch screen is a separate device which may have a different resolution from the display.
To check the resolution of your touch screen do
getevent -il /dev/input/event2 | grep ABS_MT_POSITION
and look at the max
values
Post a Comment for "Adb Shell Getevent Method Returns Twice The Value For X And Y On Nexus 4"