Created
March 17, 2020 06:31
-
-
Save etaf/727ec4601774941bfc555f759bc379be to your computer and use it in GitHub Desktop.
android_get_touch_coordinate
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
adb shell getevent | awk '{print $0,strtonum("0x" $NF)}' | |
# or | |
adb shell getevent | awk '{ if($3 == "0035" || $3 == "0036" ) print $0,strtonum("0x" $4)}' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment