projects
/
pingpong.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Updating the automation script clicker.sh
[pingpong.git]
/
automation
/
clicker.sh
diff --git
a/automation/clicker.sh
b/automation/clicker.sh
index 5f3a964160718eb5d6ea855fd0b0426aca289fca..cb00e6a08ae7ced3b7ff98c1e349b4acd5ae7de7 100755
(executable)
--- a/
automation/clicker.sh
+++ b/
automation/clicker.sh
@@
-14,10
+14,19
@@
RAN_END=200
for ((i=$BEGIN; i<=$END; i+=$INC));
do
for ((i=$BEGIN; i<=$END; i+=$INC));
do
+ #./adb shell getevent -l - use this command to get the position
# TP-Link switch
#./adb shell input tap 1002 913
# TP-Link switch
#./adb shell input tap 1002 913
+ # TP-Link bulb on/off
+ ./adb shell input tap 981 358
# D-Link switch
# D-Link switch
- ./adb shell input tap 987 346
+ #./adb shell input tap 987 346
+ # SmartThings
+ #./adb shell input tap 921 1188
+ # WeMo
+ #./adb shell input tap 981 532
+ # WeMo Insight
+ #./adb shell input tap 981 326
#date +%r
date +"%m/%d/%Y %r"
#RAND=$[( $RANDOM % $RAN_END ) + $RAN_STA]
#date +%r
date +"%m/%d/%Y %r"
#RAND=$[( $RANDOM % $RAN_END ) + $RAN_STA]