Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

dtinth/head-controlled-mouse

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

3 Commits

Repository files navigation

head-controlled-mouse

Use your head to control the mouse.

  1. Run node server.js.

  2. Use your mobile browser that has an orientation sensor and open the web page.

    • Click "Keep awake" button to go into full screen mode and prevent the screen from sleeping.

      (You must enable "Experimental Web Platform" features in chrome://flags).

    • Click "Calibrate" to calibrate the sensor values after 5 seconds delay.

To adjust sensitivity, edit server.js (right now, the number is hardcoded)

Demo

I built this project in a live coding streaming session.

https://www.facebook.com/dtinth/videos/10210799509137988/

You can see the first working demo at 22:50 into the video, and the last demo with calibration function at 30:50 into the video.

About

Use your head to control the mouse.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

AltStyle によって変換されたページ (->オリジナル) /