Input

Input

This handles all inputs from the mouse,touch and keyboards.

Constructor

new Input(eventHandler)

Source:
Parameters:
Name Type Description
eventHandler DOMEventHandler

Classes

Input

Members

DOMEventHandler :DOMEventHandler

Description:
  • This attaches callbacks to the DOM.
Source:
This attaches callbacks to the DOM.
Type:

keyboard :Keyboard

Source:
Type:

mouse :Mouse

Source:
Type:

touch :Touch

Source:
Type:

Methods

dispose()

Description:
  • Remove all bindings to the DOM for all input types.
Source:

update()

Description:
  • Updates all inputs.
Source: