new Input(game) Phaser.Input is the Input Manager for all types of Input across Phaser, including mouse, keyboard, touch and MSPointer
onTouchStart(event) The internal method that handles the touchstart event from the browser. Parameters
onHold : Phaser.Signal A Signal that is dispatched
touch : Phaser.Touch The Touch Input manager. You
touchStartCallback : Function A callback that can be fired on a touchStart event. Source
[static] RIGHT_BUTTON : number The Right Mouse button, or in PointerEvent devices a Pen contact
wheelDelta : number The direction of the last mousewheel usage 1 for up -1 for down.
[static] BACK_BUTTON : number Source code:
justReleased(duration) → {boolean} The Pointer is considered justReleased
[readonly] pollLocked : boolean True if the Input is currently poll rate locked.
Page 2 of 29