Every game buttons of the emulated gamepad
Whether the last button pressed comes from the keybord or the controller
The stick dead zone
The trigger dead zone
Controller gamepad buttons configuration
Controller gamepad sticks configuration
Keyboard gamepad keys configuration
Press the game button if it is up then triggers the listeners.
The game button to press
The keyboard event if any
Releases the game button if it is held down then triggers the listeners.
The game button to release
The keyboard event if any
Returns a gamepad button state with its signal attached.
GBA (custom) button (or array of buttons)
Checks if a gamepad button is currently down.
GBA (custom) button
Checks if a gamepad button is currently up.
GBA (custom) button
Press any multi-buttons involved if none the button itself.
The game button getting pressed
Releases any multi-buttons involved and the button itself.
The game button getting released
Registers internal listeners on the gamepad and the keyboard to trigger emulated game button.
Phaser game
Loads the gamepad and keyboard configuration.
Master game data object
Gets the GBA button(s) attached to the controller button.
Controller button code.
Gets the GBA button(s) attached to the Phaser keyboard key.
Phaser keyboard key code.
Generated using TypeDoc
An emulated gamepad.