Inspiration

Wanted to try and use a phone as a desktop mouse somehow

What it does

It uses your phone's accelerometer to control your desktop's mouse

How we built it

  • Flask
  • Accelerometers
  • pyautogui
  • POST requests
  • Bootstrap
  • so much fiddling with refresh rates

Challenges we ran into

Originally planned to use bluetooth with an android app and GPS

None of that worked. Jumped between several technologies to try and solve this problem and eventually ended up with javascript accelerometer data via HTTPS

Accomplishments that we're proud of

  • The fact that it works at all
  • Actually securing the webserver with https and a set of secure words so only allowed devices can control your mouse

What we learned

  • NLP is hard
  • POST requests are computationally expensive when you're sending multiple every 10th of a second

What's next for Motion Mouse

  • More fiddling with refresh rates to make it less janky
  • Better clicking
Share this project:

Updates