Giter Site home page Giter Site logo

the-vishal / air-mouse Goto Github PK

View Code? Open in Web Editor NEW
69.0 7.0 25.0 3.37 MB

Android touch and sensors controlled mouse cursor(Accelerometer and light intensity)

Python 100.00%
android air-mouse accelerometer apk python python3 app-inventor wifi mouse-events cursor

air-mouse's Introduction

HELLO VISITOR!!

SOCIAL LINKS:

LANGUAGES:

DATABASE:

FRAMEWORKS:

TOOLS:

OS:

IDE:

LEARNING ...

  • ๐Ÿ”ญ Iโ€™m currently working on : Web Development
  • ๐ŸŒฑ Iโ€™m currently learning : NeuroScience and OpenCV
  • ๐Ÿ‘ฏ Iโ€™m looking to collaborate on : Technical Blogs
  • ๐Ÿค” Iโ€™m looking for help with : NeuroScience
  • ๐Ÿ’ฌ Ask me about : Anything

SUPPORT:

counter

air-mouse's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

air-mouse's Issues

Was not able to implement your program

This was what I did:

  1. I use Spyder for writing and compiling my python code and same I did with your code. I have not yet run your code but I will tell you at what step I would.
    --> error: pynput not installed
    --> fixed it by installing the same pynput and "import pynput" runs flawlessly
  2. Downloaded the Sensor Node Free app from playstore
    --> Opened it, clicked on the option "stream"
    --> it then asked me 2 options: 1.) Stream live data(XML) and 2.) Stream live data(MQTT)
    --> I clicked on the 1st one, then I checked the boxes for Accelerometer and Light Intensity.
    --> Asked for Target IP Address: I filled my Laptop's IP Add. by looking it up through the command "ipconfig" in CMD.(Note: My laptop is sharing internet with my mobile through it's[ mobile's ] hotspot service.)
    --> Asked for Port number, I filled 5555 but the thing to note is I modified the value of ip and port in your py program according to what I entered in that android app.
  3. Clicked on the activate stream button in the app
  4. Then ran your program in Spyder IDE but nothing happened !
    Please help me !

use socket to get host ip

To make sure everyone (and even you when your ip will change) can use this app you can use socket to get the host ip.

hostname=socket.gethostname()   
ip_address=socket.gethostbyname(hostname)

ip = '192.168.1.17'

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.