Monitor motion movements in your views
Supporting these interfaces:
- Accelerometer ( using window.DeviceOrientationEvent )
- Oculus Rift ( using the Oculus bridge )
Using bower
bower install backbone.input.motion
Most events can be setup through the view's options
. There are two main attributes:
- monitor (array) : defines the devices that will be monitored. Available options: "accelerometer", "rift"
- states (object) : picks the events to monitor for ever device. All supported devices have their own sub-object
Initiated by Makis Tracend ( @tracend )
Distributed through Makesites.org
Released under the MIT license