Skip to content

Commit

Permalink
added sendable to gamepad
Browse files Browse the repository at this point in the history
  • Loading branch information
Sam-Belliveau committed Feb 20, 2021
1 parent 3f689a6 commit a06467b
Show file tree
Hide file tree
Showing 26 changed files with 385 additions and 185 deletions.
60 changes: 45 additions & 15 deletions docs/com/stuypulse/stuylib/input/Gamepad.html
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
catch(err) {
}
//-->
var data = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10,"i13":10,"i14":10,"i15":10,"i16":10,"i17":10,"i18":10,"i19":10,"i20":10,"i21":10,"i22":10,"i23":10,"i24":10,"i25":10,"i26":10,"i27":10,"i28":10,"i29":10,"i30":10,"i31":10,"i32":10,"i33":10,"i34":10,"i35":10,"i36":10,"i37":10,"i38":10,"i39":10,"i40":10,"i41":10,"i42":10,"i43":10,"i44":10,"i45":10};
var data = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10,"i13":10,"i14":10,"i15":10,"i16":10,"i17":10,"i18":10,"i19":10,"i20":10,"i21":10,"i22":10,"i23":10,"i24":10,"i25":10,"i26":10,"i27":10,"i28":10,"i29":10,"i30":10,"i31":10,"i32":10,"i33":10,"i34":10,"i35":10,"i36":10,"i37":10,"i38":10,"i39":10,"i40":10,"i41":10,"i42":10,"i43":10,"i44":10,"i45":10,"i46":10};
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
Expand Down Expand Up @@ -131,12 +131,17 @@ <h2 title="Class Gamepad" class="title">Class Gamepad</h2>
<ul class="blockList">
<li class="blockList">
<dl>
<dt>All Implemented Interfaces:</dt>
<dd><code>edu.wpi.first.wpilibj.Sendable</code></dd>
</dl>
<dl>
<dt>Direct Known Subclasses:</dt>
<dd><code><a href="GamepadState.html" title="class in com.stuypulse.stuylib.input">GamepadState</a></code>, <code><a href="gamepads/KeyGamepad.html" title="class in com.stuypulse.stuylib.input.gamepads">KeyGamepad</a></code>, <code><a href="WPIGamepad.html" title="class in com.stuypulse.stuylib.input">WPIGamepad</a></code>, <code><a href="gamepads/Xbox.html" title="class in com.stuypulse.stuylib.input.gamepads">Xbox</a></code></dd>
</dl>
<hr>
<pre>public class <span class="typeNameLabel">Gamepad</span>
extends java.lang.Object</pre>
extends java.lang.Object
implements edu.wpi.first.wpilibj.Sendable</pre>
<div class="block">An class for using gamepads with different interfaces. You can implement this class in another
file, and then use it with a standard interface.

Expand Down Expand Up @@ -329,17 +334,17 @@ <h3>Method Summary</h3>
</tr>
<tr id="i23" class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getRawLeftAnalogButton()">getRawLeftAnalogButton</a></span>()</code></th>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getRawLeftBumper()">getRawLeftBumper</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i24" class="altColor">
<td class="colFirst"><code>boolean</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getRawLeftBumper()">getRawLeftBumper</a></span>()</code></th>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getRawLeftButton()">getRawLeftButton</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i25" class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getRawLeftButton()">getRawLeftButton</a></span>()</code></th>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getRawLeftStickButton()">getRawLeftStickButton</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i26" class="altColor">
Expand All @@ -349,17 +354,17 @@ <h3>Method Summary</h3>
</tr>
<tr id="i27" class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getRawRightAnalogButton()">getRawRightAnalogButton</a></span>()</code></th>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getRawRightBumper()">getRawRightBumper</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i28" class="altColor">
<td class="colFirst"><code>boolean</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getRawRightBumper()">getRawRightBumper</a></span>()</code></th>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getRawRightButton()">getRawRightButton</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i29" class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getRawRightButton()">getRawRightButton</a></span>()</code></th>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getRawRightStickButton()">getRawRightStickButton</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i30" class="altColor">
Expand Down Expand Up @@ -439,6 +444,11 @@ <h3>Method Summary</h3>
</tr>
<tr id="i45" class="rowColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#initSendable(edu.wpi.first.wpilibj.smartdashboard.SendableBuilder)">initSendable</a></span>&#8203;(edu.wpi.first.wpilibj.smartdashboard.SendableBuilder&nbsp;builder)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i46" class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setRumble(double)">setRumble</a></span>&#8203;(double&nbsp;intensity)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
Expand All @@ -450,6 +460,13 @@ <h3>Method Summary</h3>
<h3>Methods inherited from class&nbsp;java.lang.Object</h3>
<code>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a id="methods.inherited.from.class.edu.wpi.first.wpilibj.Sendable">
<!-- -->
</a>
<h3>Methods inherited from interface&nbsp;edu.wpi.first.wpilibj.Sendable</h3>
<code>addChild, getName, getSubsystem, setName, setName, setName, setName, setSubsystem</code></li>
</ul>
</li>
</ul>
</section>
Expand Down Expand Up @@ -679,22 +696,22 @@ <h4>getRawOptionButton</h4>
<pre class="methodSignature">public&nbsp;boolean&nbsp;getRawOptionButton()</pre>
</li>
</ul>
<a id="getRawLeftAnalogButton()">
<a id="getRawLeftStickButton()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getRawLeftAnalogButton</h4>
<pre class="methodSignature">public&nbsp;boolean&nbsp;getRawLeftAnalogButton()</pre>
<h4>getRawLeftStickButton</h4>
<pre class="methodSignature">public&nbsp;boolean&nbsp;getRawLeftStickButton()</pre>
</li>
</ul>
<a id="getRawRightAnalogButton()">
<a id="getRawRightStickButton()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getRawRightAnalogButton</h4>
<pre class="methodSignature">public&nbsp;boolean&nbsp;getRawRightAnalogButton()</pre>
<h4>getRawRightStickButton</h4>
<pre class="methodSignature">public&nbsp;boolean&nbsp;getRawRightStickButton()</pre>
</li>
</ul>
<a id="setRumble(double)">
Expand Down Expand Up @@ -916,12 +933,25 @@ <h4>getLeftAnalogButton</h4>
<a id="getRightAnalogButton()">
<!-- -->
</a>
<ul class="blockListLast">
<ul class="blockList">
<li class="blockList">
<h4>getRightAnalogButton</h4>
<pre class="methodSignature">public final&nbsp;edu.wpi.first.wpilibj2.command.button.Button&nbsp;getRightAnalogButton()</pre>
</li>
</ul>
<a id="initSendable(edu.wpi.first.wpilibj.smartdashboard.SendableBuilder)">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>initSendable</h4>
<pre class="methodSignature">public final&nbsp;void&nbsp;initSendable&#8203;(edu.wpi.first.wpilibj.smartdashboard.SendableBuilder&nbsp;builder)</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code>initSendable</code>&nbsp;in interface&nbsp;<code>edu.wpi.first.wpilibj.Sendable</code></dd>
</dl>
</li>
</ul>
</li>
</ul>
</section>
Expand Down
Loading

0 comments on commit a06467b

Please sign in to comment.