new GamepadButton()
Represents a gamepad button and its current state.
Properties:
Name | Type | Description |
---|---|---|
pressed |
Boolean | If the button is currently pressed. |
touched |
Boolean | If the button is currently touched (for Oculus Touch controllers). |
nearlyTouched |
Boolean | If the button is nearly being touched (for Oculus Touch controllers). |
value |
Boolean | Value of an analog button. |