Class: InputManager

mmir. InputManager

The InputManager handles input events.

On initialization, the InputManager also creates the mmir.InputEngine, and returns it as the second argument of the init() function's callback (or the Promise's triggered callbacks). In addition, the InputEngine is exported as module "mmirf/inputEngine" via RequireJS' define() function.

Example
//initialization of inputManager
require('mmirf/inputManager').init().then( function(data){
		var inputManagerInstance = data.manager;
		var inputEngineInstance  = data.engine;
		//do something...
});

Extends

  • mmir.ManagerFactory