new SinglePad(game, padParent)
A single Phaser Gamepad
Parameters
Name | Type | Description |
---|---|---|
game | Phaser.Game | Current game instance. |
padParent | object | The parent Phaser.Gamepad object (all gamepads reside under this) |
- Source code: input/SinglePad.js (Line 16)
Please login to continue.