InputEventJoypadButton

    Input event for gamepad buttons.

    Input event type for gamepad buttons. For gamepad analog sticks and joysticks, see .

    Button identifier. One of the JoystickList button constants.


    • pressed

    If true, the button’s state is pressed. If , 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 0 to .