Created
May 22, 2016 13:06
-
-
Save Sopamo/a1b5336103020d57c7c28ce35040929f to your computer and use it in GitHub Desktop.
Send tap events from your keyboard to your android device. Execute the file, press any key to submit a tap event. Great for Google Cardboard. Tested on Mac. You need to have adb installed and the device connected.
This file contains 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 | |
while true; do | |
read -rsn1 input | |
adb shell input tap 200 200 | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment