<li><ahref="../../../../Microsoft/Xna/Framework/Input/GamePad.html"title="class in Microsoft.Xna.Framework.Input"><spanclass="strong">Prev Class</span></a></li>
<li><ahref="../../../../Microsoft/Xna/Framework/Input/GamePadCapabilities.html"title="class in Microsoft.Xna.Framework.Input"><spanclass="strong">Next Class</span></a></li>
<dd><ahref="../../../../System/IEquatable.html"title="interface in System">IEquatable</a><<ahref="../../../../Microsoft/Xna/Framework/Input/GamePadButtons.html"title="class in Microsoft.Xna.Framework.Input">GamePadButtons</a>></dd>
</dl>
<hr>
<br>
<pre>public final class <spanclass="strong">GamePadButtons</span>
extends <ahref="../../../../System/ValueType.html"title="class in System">ValueType</a>
implements <ahref="../../../../System/IEquatable.html"title="interface in System">IEquatable</a><<ahref="../../../../Microsoft/Xna/Framework/Input/GamePadButtons.html"title="class in Microsoft.Xna.Framework.Input">GamePadButtons</a>></pre>
<divclass="block">Identifies whether the buttons on an Xbox 360 Controller are pressed or released.</div>
<thclass="colFirst"scope="col">Modifier and Type</th>
<thclass="colLast"scope="col">Field and Description</th>
</tr>
<trclass="altColor">
<tdclass="colFirst"><code><ahref="../../../../Microsoft/Xna/Framework/Input/ButtonState.html"title="enum in Microsoft.Xna.Framework.Input">ButtonState</a></code></td>
<divclass="block">Identifies whether the A button on the Xbox 360 Controller is pressed.</div>
</td>
</tr>
<trclass="rowColor">
<tdclass="colFirst"><code><ahref="../../../../Microsoft/Xna/Framework/Input/ButtonState.html"title="enum in Microsoft.Xna.Framework.Input">ButtonState</a></code></td>
<divclass="block">Identifies whether the B button on the Xbox 360 Controller is pressed.</div>
</td>
</tr>
<trclass="altColor">
<tdclass="colFirst"><code><ahref="../../../../Microsoft/Xna/Framework/Input/ButtonState.html"title="enum in Microsoft.Xna.Framework.Input">ButtonState</a></code></td>
<divclass="block">Identifies whether the BACK button on the Xbox 360 Controller is pressed.</div>
</td>
</tr>
<trclass="rowColor">
<tdclass="colFirst"><code><ahref="../../../../Microsoft/Xna/Framework/Input/ButtonState.html"title="enum in Microsoft.Xna.Framework.Input">ButtonState</a></code></td>
<divclass="block">Identifies whether the left shoulder (bumper) button on the Xbox 360 Controller is pressed.</div>
</td>
</tr>
<trclass="altColor">
<tdclass="colFirst"><code><ahref="../../../../Microsoft/Xna/Framework/Input/ButtonState.html"title="enum in Microsoft.Xna.Framework.Input">ButtonState</a></code></td>
<divclass="block">Identifies whether the left stick button on the Xbox 360 Controller is pressed (the stick is "clicked" in).</div>
</td>
</tr>
<trclass="rowColor">
<tdclass="colFirst"><code><ahref="../../../../Microsoft/Xna/Framework/Input/ButtonState.html"title="enum in Microsoft.Xna.Framework.Input">ButtonState</a></code></td>
<divclass="block">Identifies whether the right shoulder (bumper) button on the Xbox 360 Controller is pressed.</div>
</td>
</tr>
<trclass="altColor">
<tdclass="colFirst"><code><ahref="../../../../Microsoft/Xna/Framework/Input/ButtonState.html"title="enum in Microsoft.Xna.Framework.Input">ButtonState</a></code></td>
<divclass="block">Identifies whether the right stick button on the Xbox 360 Controller is pressed (the stick is "clicked" in).</div>
</td>
</tr>
<trclass="rowColor">
<tdclass="colFirst"><code><ahref="../../../../Microsoft/Xna/Framework/Input/ButtonState.html"title="enum in Microsoft.Xna.Framework.Input">ButtonState</a></code></td>
<divclass="block">Identifies whether the START button on the Xbox 360 Controller is pressed.</div>
</td>
</tr>
<trclass="altColor">
<tdclass="colFirst"><code><ahref="../../../../Microsoft/Xna/Framework/Input/ButtonState.html"title="enum in Microsoft.Xna.Framework.Input">ButtonState</a></code></td>
<divclass="block">Identifies whether the X button on the Xbox 360 Controller is pressed.</div>
</td>
</tr>
<trclass="rowColor">
<tdclass="colFirst"><code><ahref="../../../../Microsoft/Xna/Framework/Input/ButtonState.html"title="enum in Microsoft.Xna.Framework.Input">ButtonState</a></code></td>
<thclass="colOne"scope="col">Constructor and Description</th>
</tr>
<trclass="altColor">
<tdclass="colOne"><code><strong><ahref="../../../../Microsoft/Xna/Framework/Input/GamePadButtons.html#GamePadButtons(java.util.EnumSet)">GamePadButtons</a></strong>(java.util.EnumSet<<ahref="../../../../Microsoft/Xna/Framework/Input/Buttons.html"title="enum in Microsoft.Xna.Framework.Input">Buttons</a>> buttons)</code>
<divclass="block">Initializes a new instance of the GamePadButtons class, setting the specified buttons to pressed.</div>
<thclass="colFirst"scope="col">Modifier and Type</th>
<thclass="colLast"scope="col">Method and Description</th>
</tr>
<trclass="altColor">
<tdclass="colFirst"><code>boolean</code></td>
<tdclass="colLast"><code><strong><ahref="../../../../Microsoft/Xna/Framework/Input/GamePadButtons.html#Equals(Microsoft.Xna.Framework.Input.GamePadButtons)">Equals</a></strong>(<ahref="../../../../Microsoft/Xna/Framework/Input/GamePadButtons.html"title="class in Microsoft.Xna.Framework.Input">GamePadButtons</a> other)</code>
<divclass="block">Indicates whether the current object is equal to another object of the same type.</div>
<pre>public final <ahref="../../../../Microsoft/Xna/Framework/Input/ButtonState.html"title="enum in Microsoft.Xna.Framework.Input">ButtonState</a> A</pre>
<divclass="block">Identifies whether the A button on the Xbox 360 Controller is pressed.</div>
</li>
</ul>
<aname="B">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>B</h4>
<pre>public final <ahref="../../../../Microsoft/Xna/Framework/Input/ButtonState.html"title="enum in Microsoft.Xna.Framework.Input">ButtonState</a> B</pre>
<divclass="block">Identifies whether the B button on the Xbox 360 Controller is pressed.</div>
</li>
</ul>
<aname="X">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>X</h4>
<pre>public final <ahref="../../../../Microsoft/Xna/Framework/Input/ButtonState.html"title="enum in Microsoft.Xna.Framework.Input">ButtonState</a> X</pre>
<divclass="block">Identifies whether the X button on the Xbox 360 Controller is pressed.</div>
</li>
</ul>
<aname="Y">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>Y</h4>
<pre>public final <ahref="../../../../Microsoft/Xna/Framework/Input/ButtonState.html"title="enum in Microsoft.Xna.Framework.Input">ButtonState</a> Y</pre>
<divclass="block">Identifies whether the Y button on the Xbox 360 Controller is pressed.</div>
</li>
</ul>
<aname="LeftStick">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>LeftStick</h4>
<pre>public final <ahref="../../../../Microsoft/Xna/Framework/Input/ButtonState.html"title="enum in Microsoft.Xna.Framework.Input">ButtonState</a> LeftStick</pre>
<divclass="block">Identifies whether the left stick button on the Xbox 360 Controller is pressed (the stick is "clicked" in).</div>
</li>
</ul>
<aname="RightStick">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>RightStick</h4>
<pre>public final <ahref="../../../../Microsoft/Xna/Framework/Input/ButtonState.html"title="enum in Microsoft.Xna.Framework.Input">ButtonState</a> RightStick</pre>
<divclass="block">Identifies whether the right stick button on the Xbox 360 Controller is pressed (the stick is "clicked" in).</div>
</li>
</ul>
<aname="LeftShoulder">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>LeftShoulder</h4>
<pre>public final <ahref="../../../../Microsoft/Xna/Framework/Input/ButtonState.html"title="enum in Microsoft.Xna.Framework.Input">ButtonState</a> LeftShoulder</pre>
<divclass="block">Identifies whether the left shoulder (bumper) button on the Xbox 360 Controller is pressed.</div>
</li>
</ul>
<aname="RightShoulder">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>RightShoulder</h4>
<pre>public final <ahref="../../../../Microsoft/Xna/Framework/Input/ButtonState.html"title="enum in Microsoft.Xna.Framework.Input">ButtonState</a> RightShoulder</pre>
<divclass="block">Identifies whether the right shoulder (bumper) button on the Xbox 360 Controller is pressed.</div>
</li>
</ul>
<aname="Back">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>Back</h4>
<pre>public final <ahref="../../../../Microsoft/Xna/Framework/Input/ButtonState.html"title="enum in Microsoft.Xna.Framework.Input">ButtonState</a> Back</pre>
<divclass="block">Identifies whether the BACK button on the Xbox 360 Controller is pressed.</div>
</li>
</ul>
<aname="Start">
<!---->
</a>
<ulclass="blockListLast">
<liclass="blockList">
<h4>Start</h4>
<pre>public final <ahref="../../../../Microsoft/Xna/Framework/Input/ButtonState.html"title="enum in Microsoft.Xna.Framework.Input">ButtonState</a> Start</pre>
<divclass="block">Identifies whether the START button on the Xbox 360 Controller is pressed.</div>
<pre>public GamePadButtons(java.util.EnumSet<<ahref="../../../../Microsoft/Xna/Framework/Input/Buttons.html"title="enum in Microsoft.Xna.Framework.Input">Buttons</a>> buttons)</pre>
<divclass="block">Initializes a new instance of the GamePadButtons class, setting the specified buttons to pressed.</div>
<dl><dt><spanclass="strong">Parameters:</span></dt><dd><code>buttons</code> - Buttons to initialize as pressed. Specify a single button, or combine multiple buttons using an EnumSet.</dd></dl>
<pre>public boolean Equals(<ahref="../../../../Microsoft/Xna/Framework/Input/GamePadButtons.html"title="class in Microsoft.Xna.Framework.Input">GamePadButtons</a> other)</pre>
<divclass="block"><strong>Description copied from interface: <code><ahref="../../../../System/IEquatable.html#Equals(T)">IEquatable</a></code></strong></div>
<divclass="block">Indicates whether the current object is equal to another object of the same type.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><ahref="../../../../System/IEquatable.html#Equals(T)">Equals</a></code> in interface <code><ahref="../../../../System/IEquatable.html"title="interface in System">IEquatable</a><<ahref="../../../../Microsoft/Xna/Framework/Input/GamePadButtons.html"title="class in Microsoft.Xna.Framework.Input">GamePadButtons</a>></code></dd>
<dt><spanclass="strong">Parameters:</span></dt><dd><code>other</code> - An object to compare with this object.</dd>
<dt><spanclass="strong">Returns:</span></dt><dd>true if the current object is equal to the other parameter; otherwise, false.</dd></dl>
</li>
</ul>
<aname="hashCode()">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>hashCode</h4>
<pre>public int hashCode()</pre>
<divclass="block">Gets the hash code for this instance.
<li><ahref="../../../../Microsoft/Xna/Framework/Input/GamePad.html"title="class in Microsoft.Xna.Framework.Input"><spanclass="strong">Prev Class</span></a></li>
<li><ahref="../../../../Microsoft/Xna/Framework/Input/GamePadCapabilities.html"title="class in Microsoft.Xna.Framework.Input"><spanclass="strong">Next Class</span></a></li>