Method | Description | |
---|---|---|
IsPressed ( GamepadButtons button ) : bool |
A value indicating whether the specified button is pressed.
|
Method | Description | |
---|---|---|
GamepadState ( bool dpadUp, bool dpadDown, bool dpadLeft, bool dpadRight, bool aPressed, bool bPressed, bool yPressed, bool xPressed, bool backPressed, bool startPressed, bool leftShoulder, bool rightShoulder, bool leftStick, bool rightStick, bool guide, float leftTrigger, float rightTrigger, |
Initializes a new GamepadState class.
|
public IsPressed ( GamepadButtons button ) : bool | ||
button | GamepadButtons | The GamepadButton. |
return | bool |