GamePadButtons Members
The following tables list the members exposed by the GamePadButtons type.
Public Properties
Name | Description | |
---|---|---|
A | Identifies whether the A button on the Xbox 360 Controller is pressed. | |
B | Identifies whether the B button on the Xbox 360 Controller is pressed. | |
Back | Identifies whether the BACK button on the Xbox 360 Controller is pressed. | |
LeftShoulder | Identifies whether the left shoulder (bumper) button on the Xbox 360 Controller is pressed. | |
LeftStick | Identifies whether the left stick button on the Xbox 360 Controller is pressed (the stick is "clicked" in). | |
RightShoulder | Identifies whether the right shoulder (bumper) button on the Xbox 360 Controller is pressed. | |
RightStick | Identifies whether the right stick button on the Xbox 360 Controller is pressed (the stick is "clicked" in). | |
Start | Identifies whether the START button on the Xbox 360 Controller is pressed. | |
X | Identifies whether the X button on the Xbox 360 Controller is pressed. | |
Y | Identifies whether the Y button on the Xbox 360 Controller is pressed. |
Public Methods
Name | Description | |
---|---|---|
Equals | Overloaded. Returns a value that indicates whether the current instance is equal to a specified object. | |
GetHashCode | Gets the hash code for this instance. | |
GetType | (Inherited from Object.) | |
op_Equality | Determines whether two GamePadButtons instances are equal. | |
op_Inequality | Determines whether two GamePadButtons instances are not equal. | |
ReferenceEquals | (Inherited from Object.) | |
ToString | Retrieves a string representation of this object. |
Protected Methods
Name | Description | |
---|---|---|
Finalize | (Inherited from Object.) | |
MemberwiseClone | (Inherited from Object.) |
See Also
Tasks
How to: Detect Whether a Controller Button Is Pressed
How to: Detect Whether a Controller Is Disconnected
Concepts
Reference
GamePadButtons Structure
Microsoft.Xna.Framework.Input Namespace