GamePadState Members
Collapse the table of content
Expand the table of content

GamePadState Members

The following tables list the members exposed by the GamePadState type.

Public MethodGamePadStateOverloaded. Initializes a new instance of the GamePadState class.

Public PropertyButtonsReturns a structure that identifies what buttons on the Xbox 360 controller are pressed.
Public PropertyDPadReturns a structure that identifies what directions of the directional pad on the Xbox 360 Controller are pressed.
Public PropertyIsConnectedIndicates whether the Xbox 360 Controller is connected.
Public PropertyPacketNumberGets the packet number associated with this state.
Public PropertyThumbSticksReturns a structure that indicates the position of the Xbox 360 Controller sticks (thumbsticks).
Public PropertyTriggersReturns a structure that identifies the position of triggers on the Xbox 360 controller.

Public MethodEqualsOverloaded. Returns a value that indicates whether the current instance is equal to a specified object.
Public MethodGetHashCodeGets the hash code for this instance.
Public MethodGetType (Inherited from Object.)
Public MethodIsButtonDownDetermines whether specified input device buttons are pressed in this GamePadState.
Public MethodIsButtonUpDetermines whether specified input device buttons are up (not pressed) in this GamePadState.
Public Method Staticop_EqualityDetermines whether two GamePadState instances are equal.
Public Method Staticop_InequalityDetermines whether two GamePadState instances are not equal.
Public MethodReferenceEquals (Inherited from Object.)
Public MethodToStringRetrieves a string representation of this object.

Protected MethodFinalize (Inherited from Object.)
Protected MethodMemberwiseClone (Inherited from Object.)

Community Additions

© 2016 Microsoft