Represents a gamepad button being pressed or released.
Input event type for gamepad buttons. For gamepad analog sticks and joysticks, see [InputEventJoypadMotion].
$DOCS_URL/tutorials/inputs/inputevent.html
- Button identifier. One of the [enum JoyButton] button constants.
- If [code]true[/code], the button's state is pressed. If [code]false[/code], the button's state is released.
- Represents the pressure the user puts on the button with their finger, if the controller supports it. Ranges from [code]0[/code] to [code]1[/code].