InputEventJoypadButton

    Category: Core

    Input event type for gamepad buttons. For joysticks see .

    • int button_index

    • pressed

    If , the button’s state is pressed. If , the button’s state is released.