Created
April 12, 2015 04:47
-
-
Save dukex/4463360f7a4ac997290b to your computer and use it in GitHub Desktop.
AutoClicker Android Example infinite click
This file contains hidden or 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
#!/bin/bash | |
c=1 | |
while [ $c -le 1100 ] | |
do | |
$ANDROID_HOME/platform-tools/adb shell sendevent /dev/input/event1 3 57 18838 | |
$ANDROID_HOME/platform-tools/adb shell sendevent /dev/input/event1 3 53 613 | |
$ANDROID_HOME/platform-tools/adb shell sendevent /dev/input/event1 3 54 512 | |
$ANDROID_HOME/platform-tools/adb shell sendevent /dev/input/event1 3 58 44 | |
$ANDROID_HOME/platform-tools/adb shell sendevent /dev/input/event1 3 48 4 | |
$ANDROID_HOME/platform-tools/adb shell sendevent /dev/input/event1 0 0 0 | |
$ANDROID_HOME/platform-tools/adb shell sendevent /dev/input/event1 3 58 46 | |
$ANDROID_HOME/platform-tools/adb shell sendevent /dev/input/event1 3 48 6 | |
$ANDROID_HOME/platform-tools/adb shell sendevent /dev/input/event1 0 0 0 | |
$ANDROID_HOME/platform-tools/adb shell sendevent /dev/input/event1 3 58 28 | |
$ANDROID_HOME/platform-tools/adb shell sendevent /dev/input/event1 3 48 3 | |
$ANDROID_HOME/platform-tools/adb shell sendevent /dev/input/event1 0 0 0 | |
$ANDROID_HOME/platform-tools/adb shell sendevent /dev/input/event1 3 57 4294967295 | |
$ANDROID_HOME/platform-tools/adb shell sendevent /dev/input/event1 0 0 0 | |
(( c-- )) | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment