Input Events

Hello,

I’m currently using phaser 3 for the GGJ 2019.
I’m looking for the list of events in Phaser for about an hours already and it’s very frustrating :confused:
The documentation say I can use the “on” method and “once” method to listen to events but does not tell which events exist.
For exemple, i’m currently searching for Gamepad Inputs events without success !

Please Help :slight_smile:

Filozofer

Right now, events are quite badly documented - in fact, I’m not even sure where their declarations are, I just check the Phaser source code to see their names.

Phaser 3.16, which is currently at an RC (Release Candidate) stage, will be out before the end of the month and will greatly improve the way events are used and documented - see issue #4300.

As of Phaser 3.16 RC1, the gamepad events can be found here. I’m pretty sure their names haven’t changed from 1.15, so you should be able to rely on them, but the methods that fire them may have changed because the Input Manager received an overhaul in 3.16.

1 Like

Thanx for reply ! I’ll do my best with it