Click or drag to resize

InputMapper Methods

The InputMapper type exposes the following members.

Methods
  NameDescription
Public methodClear
Stops the mapper and clears all event listeners, callbacks, and Options.
Public methodRemoveAllEventListeners
Removes all event listeners from all events.
Public methodRemoveEventListeners
Removes the event listener(s) from all events. You can pass the object that contains the target delegates to unsubscribe all delegates in that object from all events. For example, if your class MyClass subscribes to several events, you can pass the MyClass object into this method to remove all of its listeners. Example: mapper.RemoveEventListeners(this);
Public methodStart
Starts listening for input.
Public methodStop
Stops listening for input.
Top
See Also