Represents a gamepad button being pressed or released.
Input event type for gamepad buttons. For gamepad analog sticks and joysticks, see InputEventJoypadMotion.
InputEventJoypadMotion
Button identifier. One of the JoyButton button constants.
JoyButton
If true, the button's state is pressed. If false, the button's state is released.
true
false