Created
July 1, 2019 06:50
-
-
Save daz/4176649c890ea71ce637d11fa979f043 to your computer and use it in GitHub Desktop.
Cast Oculus Quest to Mac over wifi
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/sh | |
echo | |
echo "Connect Quest and hit <return> to continue..." | |
read Z | |
echo | |
QUEST_IP=`adb shell ip route | grep 'proto kernel' | awk '{print \$9}'` | |
adb tcpip 5555 | |
echo | |
echo "Disconnect Quest and hit <return> to continue..." | |
read Z | |
echo | |
adb connect $QUEST_IP:5555 | |
scrcpy -c1280:720:100:400 -b4M -m720 | |
adb disconnect | |
adb kill-server | |
exit 0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment