Skip to content

Latest commit

 

History

History
37 lines (19 loc) · 942 Bytes

File metadata and controls

37 lines (19 loc) · 942 Bytes

Backbone Input: Motion

Monitor motion movements in your views

Features

Supporting these interfaces:

Install

Using bower

bower install backbone.input.motion

Usage

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

Credits

Initiated by Makis Tracend ( @tracend )

Distributed through Makesites.org

Released under the MIT license