InputEventJoypadButton

Inherits: InputEvent < Resource < Reference < Object Input event for gamepad buttons.

Description

InputEventJoypadMotion.

Tutorials

  • Using InputEvent

    Properties

    Property Descriptions

  • int button_index JoystickList button constants.

  • bool pressed true, the button’s state is pressed. If false, the button’s state is released.

  • float pressure 0 to 1.