Skip to content

Instantly share code, notes, and snippets.

@trusktr
Created June 12, 2014 08:10
Show Gist options
  • Save trusktr/356e4f6f2840827ea9ea to your computer and use it in GitHub Desktop.
Save trusktr/356e4f6f2840827ea9ea to your computer and use it in GitHub Desktop.
Touch emulation shell script for Android.
sleep 10
while [ 1 ]; do
input swipe 700 380 1020 600 1000
input tap 960 540
input swipe 1220 700 900 480 1000
input tap 960 540
input swipe 1220 700 900 480 1000
input tap 960 540
input swipe 700 380 1020 600 1000
input tap 960 540
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment