Skip to content

Solution: How to extract position on the phone #10

@Moosphan

Description

@Moosphan

Use command:

> adb shell getevent -c 10 | grep -e 0035 -e 0036

And you will see:

/dev/input/event4: 0003 0035 0000003e
/dev/input/event4: 0003 0036 000006d6

First-line reparents position X and the other means Y.
Even we use -c to realize print given number of events then exit, But it still stays at the current step without exiting the input.
We need to tap another time to return with:

> abd shell input tap 0 0

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions