game : Phaser.Game A reference to the currently running game
stop() Stops the Keyboard event listeners from running (keydown, keyup and keypress). They are removed from the window.
onDown : Phaser.Signal This Signal is dispatched every
rightButton : Phaser.DeviceButton If this
onMouseMove(event) The internal method that handles the mouse move event from the browser. Parameters
new Input(game) Phaser.Input is the Input Manager for all types of Input across Phaser, including mouse, keyboard, touch and MSPointer
button :any The button property of the most recent DOM event when this Pointer is started.You should not rely on this value
stop() Stop the event listeners. Source code:
screenX : number The horizontal coordinate of the Pointer relative to the screen. Source
capture : boolean If true the DOM mouse events will have event.preventDefault applied to them, if false they will propagate fully
Page 4 of 29