How to use it?
Setup
Unfortunately, I haven't made a simple way to do this YET. And this is available only for Linux and Mac. If you wan't to give a try you will have to follow all these steps. I am assuming that you have ADT setup.For android wear:
- Enable developer options on your android wear and turn on USB debugging. See this to see how to enable bluetooth debugging for your watch.
- After you are successfully able to connect to your watch from your computer, install the apk.
adb install [location to the apk]
- You are done. Now go ahead and open it on your wear
For android phone:
- Enable developer options on your android device and turn on USB debugging or ADB over wifi.
- Install the apk like any other.
- You are done. Now go ahead and open it on your device.
sudo apt-get install xdotool
sudo yum install xdotool
sudo packman -S install xdotool
Start Magneto on computer
For android wear and linux
./nav -lwFor android wear and OS X
./nav -owFor android phone and linux
./nav -lpFor android phone and OS X
./nav -op
Calibration
Calibrate what is left, right, top and bottom.- Hold your device in front of the computer screen. This will be your initial position.
- Rotate your hand to left position and click on L. So, this will mark the region beyond it as Left. Then rotate your hand to the right and click on R. This will mark the region beyond it as Right. Similarly, do the same for Top (T) and Bottom(B)
- If you feel that you have to redo it, press RESET button and click on the letter. When the letter becomes L (capital L), redo Step 2.
Playing
See the video where I am playing Temple Run Online, Tetris and Pacman using my android wear!Contributing
There is a lot of scope for improvement. For instance, I haven't written the navigation script for windows. Pull requests are welcome.
You might have noticed the COMMAND button. It takes voice commands from the user and sends it to the computer. I will talk about that in another article.