GamePadButtonsΒΆ

struct GamePadButtons : System.ValueType
readonly ButtonState A
readonly ButtonState B
readonly ButtonState Back
readonly ButtonState X
readonly ButtonState Y
readonly ButtonState Start
readonly ButtonState LeftShoulder
readonly ButtonState LeftStick
readonly ButtonState RightShoulder
readonly ButtonState RightStick
readonly ButtonState BigButton
bool op_Equality(GamePadButtons left, GamePadButtons right)

Determines whether two specified instances of T:Microsoft.Xna.Framework.Input.GamePadButtons are equal.

Parameters:
  • left (Microsoft.Xna.Framework.Input.GamePadButtons) – The first object to compare.
  • right (Microsoft.Xna.Framework.Input.GamePadButtons) – The second object to compare.
Returns:

true if and are equal; otherwise, false.

bool op_Inequality(GamePadButtons left, GamePadButtons right)

Determines whether two specified instances of T:Microsoft.Xna.Framework.Input.GamePadButtons are not equal.

Parameters:
  • left (Microsoft.Xna.Framework.Input.GamePadButtons) – The first object to compare.
  • right (Microsoft.Xna.Framework.Input.GamePadButtons) – The second object to compare.
Returns:

true if and are not equal; otherwise, false.

bool Equals(System.Object obj)

Returns a value indicating whether this instance is equal to a specified object.

Parameters:
  • obj (System.Object) – An object to compare to this instance.
Returns:

true if is a T:Microsoft.Xna.Framework.Input.GamePadButtons and has the same value as this instance; otherwise, false.

int GetHashCode()