The event type to listen for
The callback to call when the event is triggered
The queue to add the listener to. Listeners in the same queue are called in the order they were added. Default is 0.
Removes the event listener from the specified event type. If no queue is specified the listener will be removed from all queues.
The event type to remove the listener from
The callback to remove
Optional queue: InputEventQueueThe queue to remove the listener from. If no queue is specified the listener will be removed from all queues
Generated using TypeDoc
Adds an event listener for the specified event type. The callback will be called when the event is triggered.