Class InputEventJoypadButton
Represents a gamepad button being pressed or released.
- Inheritance
-
InputEventJoypadButton
Remarks
Input event type for gamepad buttons. For gamepad analog sticks and joysticks, see InputEventJoypadMotion.
See Also
Properties
button_index
Button identifier. One of the JoyButton button constants.
var button_index : int = 0
Property Value
Remarks
pressed
If true
, the button's state is pressed. If false
, the button's state is released.
var pressed : bool = false
Property Value
Remarks
pressure
var pressure : float = 0.0