# Android-Controlled-Cursor
Android sensors controlled mouse cursor(Accelerometer and light intensity). 

## MODE 1: FOR Airmouse_touch.py
 
<b>Description:</b> swipe on canvas for mouse movement and for clicks, buttons are there.  <br />

1.Download Apk provided in repository. <br />
2.Change IP in both apk(in settings screen) as well as script.  <br />
![image](https://github.com/the-vishal/Air-Mouse/blob/master/Images/1.png)
![image](https://github.com/the-vishal/Air-Mouse/blob/master/Images/2.png)

3.left top of screen = left top of your PC and similarly other coordinates.   <br />
![image](https://automatetheboringstuff.com/images/000011.jpg).  <br />


## MODE 2: FOR Air_Mouse.py
<b>Description:</b> Android sensors controlled mouse cursor(Accelerometer and light intensity)

FREE Sensor Node Apk:   <br />
https://play.google.com/store/apps/details?id=com.mscino.sensornode&hl=en. 
![image](https://qph.fs.quoracdn.net/main-qimg-e29636d1e41654fd5b9367b1739f0ccc.webp)

1. Select Stream.  <br />
2. Check Accelerometer and Light Intensity.  <br />
3. Run the program.  <br />
4. For moving mouse tilt mobile left,right,up and down.  <br />
5. For left click cover the light sensor (@top front near speaker/front camera).  <br />
6. For right click Push you're device downwards(Make sure it's register it's has been down) and then go upwards with you're device.
7. In case of not responding or stuck, press ctrl+Alt+Del. 



<b>Demonstration :</b> https://youtu.be/DK0oLFoKDV8
