|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectSystem.ValueType
Microsoft.Xna.Framework.Input.GamePadButtons
public final class GamePadButtons
Identifies whether the buttons on an Xbox 360 Controller are pressed or released.
Field Summary | |
---|---|
ButtonState |
A
Identifies whether the A button on the Xbox 360 Controller is pressed. |
ButtonState |
B
Identifies whether the B button on the Xbox 360 Controller is pressed. |
ButtonState |
Back
Identifies whether the BACK button on the Xbox 360 Controller is pressed. |
ButtonState |
LeftShoulder
Identifies whether the left shoulder (bumper) button on the Xbox 360 Controller is pressed. |
ButtonState |
LeftStick
Identifies whether the left stick button on the Xbox 360 Controller is pressed (the stick is "clicked" in). |
ButtonState |
RightShoulder
Identifies whether the right shoulder (bumper) button on the Xbox 360 Controller is pressed. |
ButtonState |
RightStick
Identifies whether the right stick button on the Xbox 360 Controller is pressed (the stick is "clicked" in). |
ButtonState |
Start
Identifies whether the START button on the Xbox 360 Controller is pressed. |
ButtonState |
X
Identifies whether the X button on the Xbox 360 Controller is pressed. |
ButtonState |
Y
Identifies whether the Y button on the Xbox 360 Controller is pressed. |
Constructor Summary | |
---|---|
GamePadButtons(java.util.EnumSet<Buttons> buttons)
Initializes a new instance of the GamePadButtons class, setting the specified buttons to pressed. |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object obj)
Returns a value that indicates whether the current instance is equal to a specified object. |
int |
hashCode()
Gets the hash code for this instance. |
java.lang.String |
toString()
Retrieves a string representation of this object. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public final ButtonState A
public final ButtonState B
public final ButtonState X
public final ButtonState Y
public final ButtonState LeftStick
public final ButtonState RightStick
public final ButtonState LeftShoulder
public final ButtonState RightShoulder
public final ButtonState Back
public final ButtonState Start
Constructor Detail |
---|
public GamePadButtons(java.util.EnumSet<Buttons> buttons)
buttons
- Buttons to initialize as pressed. Specify a single button, or combine multiple buttons using an EnumSet.Method Detail |
---|
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
obj
- Object with which to make the comparison.
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |