Hey here is my code for swipe on adb.
adb shell input swipe 200 1600 1000 1600 1000
sleep 2
But I want to loop it and run continuously. I'm calling my .sh files on terminal like this:
sh ./auto_swipe.sh
This runs the script only 1 time. How can I run it continuously?