GamePadButton
A GamePadButton stores information about a button from the Gamepad API.
Summary
Properties
pressed | Whether the button is currently down. |
touched | Whether the button is currently touched. |
value | The value for the button between 0 and 1, with 0 representing a button that is not pressed, and 1 representing a button that is fully pressed. |
wasPressed | Whether the button was pressed. |
wasReleased | Whether the button was released since the last update. |
wasTouched | Whether the button was touched since the last update. |