Input.InputManager

Description: Defines an all around Input handler which manages mouse and keyboard events.

Implements: EndGate.IDisposable

Constructors

InputManager (target)
Creates a new instance of the InputManager object.

target: HTMLElement
The object through which mouse events will be monitored on.

Fields

Mouse: Input.MouseHandler
Used to bind functions to mouse related events.

Keyboard: Input.KeyboardHandler
Used to bind functions to keyboard related events.

Methods

Dispose()
Disposes the MouseHandler and unbinds all bound events.

Examples

There's currently no example available for this page. If you'd like to suggest one send me an containing a description, code, and link to the page for the suggested example. As a thanks I'll associate the code snippet with your name directly below the example if approved.