projects
/
pingpong.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f2085e4
)
Adding coordinates for the SmartThings app button.
author
rtrimana
<rtrimana@uci.edu>
Wed, 25 Jul 2018 23:10:30 +0000
(16:10 -0700)
committer
rtrimana
<rtrimana@uci.edu>
Wed, 25 Jul 2018 23:10:30 +0000
(16:10 -0700)
automation/clicker.sh
patch
|
blob
|
history
diff --git
a/automation/clicker.sh
b/automation/clicker.sh
index 5f3a964160718eb5d6ea855fd0b0426aca289fca..0817e6ee262cfb51aea60887ab1b8e194864741f 100755
(executable)
--- a/
automation/clicker.sh
+++ b/
automation/clicker.sh
@@
-14,10
+14,13
@@
RAN_END=200
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
# D-Link switch
- ./adb shell input tap 987 346
+ #./adb shell input tap 987 346
+ # SmartThings
+ ./adb shell input tap 921 1188
#date +%r
date +"%m/%d/%Y %r"
#RAND=$[( $RANDOM % $RAN_END ) + $RAN_STA]