An event emitter to use to emit the button events.
The index of this Button.
A reference to the Gamepad that this Button belongs to.
Is the Button being pressed down or not?
Can be set for analogue buttons to enable a 'pressure' threshold, before a button is considered as being 'pressed'.
Between 0 and 1.
Contains information about a specific button on a Gamepad. Button objects are created automatically by the Gamepad as they are needed.