/input

A construct.js extension that abstracts the use of backbone-input libs (mouse/touch/keys...)

Primary LanguageJavaScript

Construct: Input

An extension for Construct.js to include bindings for various input devices - namely: mouse, touch, gamepad.

Install

Using bower:

bower install construct.input

Usage

First configure the extension with the input devices you will be including (before construct is initiated)

construct.input(["mouse", "touch"]);

Then use the relevant methods in the Main3D view...

Credits

Created by Makis Tracend ( @tracend )

Released at Makesites.org

Distributed under the MIT license