Skip to content

Latest commit

 

History

History

accelerometer-cursor

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

Accelerometer Cursor

This is an example where tilting the client device using the accelerometer sensor of an Android device results in the movement of the mouse cursor on the server device according to the tilt.

Server

$ cd examples/accelerometer-cursor
$ npm install
$ npm run rebuild
$ npm build
$ npm start

Client

In Android Studio, open the examples/accelerometer-cursor project, then build and run it.