Initial commit.

This commit is contained in:
Jeffrey Han
2014-06-29 22:17:04 -04:00
commit 9da166f60f
3902 changed files with 974477 additions and 0 deletions

View File

@@ -0,0 +1,799 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (version 1.7.0_17) on Mon Dec 02 20:33:00 CET 2013 -->
<title>Controller (LWJGL API)</title>
<meta name="date" content="2013-12-02">
<link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style">
</head>
<body>
<script type="text/javascript"><!--
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="Controller (LWJGL API)";
}
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar_top">
<!-- -->
</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/Controller.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../index-all.html">Index</a></li>
<li><a href="../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li>Prev Class</li>
<li><a href="../../../org/lwjgl/input/Controllers.html" title="class in org.lwjgl.input"><span class="strong">Next Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../index.html?org/lwjgl/input/Controller.html" target="_top">Frames</a></li>
<li><a href="Controller.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../allclasses-noframe.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method_summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method_detail">Method</a></li>
</ul>
</div>
<a name="skip-navbar_top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<!-- ======== START OF CLASS DATA ======== -->
<div class="header">
<div class="subTitle">org.lwjgl.input</div>
<h2 title="Interface Controller" class="title">Interface Controller</h2>
</div>
<div class="contentContainer">
<div class="description">
<ul class="blockList">
<li class="blockList">
<dl>
<dt>All Known Implementing Classes:</dt>
<dd><a href="../../../org/lwjgl/util/input/ControllerAdapter.html" title="class in org.lwjgl.util.input">ControllerAdapter</a></dd>
</dl>
<hr>
<br>
<pre>public interface <span class="strong">Controller</span></pre>
<div class="block">A game controller of some sort that will provide input. The controller
presents buttons and axes. Buttons are either pressed or not pressed. Axis
provide analogue values.</div>
<dl><dt><span class="strong">Author:</span></dt>
<dd>Kevin Glass</dd></dl>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- ========== METHOD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="method_summary">
<!-- -->
</a>
<h3>Method Summary</h3>
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
<caption><span>Methods</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><strong><a href="../../../org/lwjgl/input/Controller.html#getAxisCount()">getAxisCount</a></strong>()</code>
<div class="block">Retrieve the number of axes available on this controller.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>java.lang.String</code></td>
<td class="colLast"><code><strong><a href="../../../org/lwjgl/input/Controller.html#getAxisName(int)">getAxisName</a></strong>(int&nbsp;index)</code>
<div class="block">Get the name that's given to the specified axis</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>float</code></td>
<td class="colLast"><code><strong><a href="../../../org/lwjgl/input/Controller.html#getAxisValue(int)">getAxisValue</a></strong>(int&nbsp;index)</code>
<div class="block">Retrieve the value thats currently available on a specified axis.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><strong><a href="../../../org/lwjgl/input/Controller.html#getButtonCount()">getButtonCount</a></strong>()</code>
<div class="block">Retrieve the number of buttons available on this controller</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>java.lang.String</code></td>
<td class="colLast"><code><strong><a href="../../../org/lwjgl/input/Controller.html#getButtonName(int)">getButtonName</a></strong>(int&nbsp;index)</code>
<div class="block">Get the name of the specified button.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>float</code></td>
<td class="colLast"><code><strong><a href="../../../org/lwjgl/input/Controller.html#getDeadZone(int)">getDeadZone</a></strong>(int&nbsp;index)</code>
<div class="block">Get the dead zone for a specified axis</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><strong><a href="../../../org/lwjgl/input/Controller.html#getIndex()">getIndex</a></strong>()</code>
<div class="block">Get the index of this controller in the collection</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>java.lang.String</code></td>
<td class="colLast"><code><strong><a href="../../../org/lwjgl/input/Controller.html#getName()">getName</a></strong>()</code>
<div class="block">Get the name assigned to this controller.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>float</code></td>
<td class="colLast"><code><strong><a href="../../../org/lwjgl/input/Controller.html#getPovX()">getPovX</a></strong>()</code>
<div class="block">Get the X-Axis value of the POV on this controller</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>float</code></td>
<td class="colLast"><code><strong><a href="../../../org/lwjgl/input/Controller.html#getPovY()">getPovY</a></strong>()</code>
<div class="block">Get the Y-Axis value of the POV on this controller</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><strong><a href="../../../org/lwjgl/input/Controller.html#getRumblerCount()">getRumblerCount</a></strong>()</code>
<div class="block">Returns the number of rumblers this controller supports</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>java.lang.String</code></td>
<td class="colLast"><code><strong><a href="../../../org/lwjgl/input/Controller.html#getRumblerName(int)">getRumblerName</a></strong>(int&nbsp;index)</code>
<div class="block">Returns the name of the specified rumbler</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>float</code></td>
<td class="colLast"><code><strong><a href="../../../org/lwjgl/input/Controller.html#getRXAxisDeadZone()">getRXAxisDeadZone</a></strong>()</code>
<div class="block">Get the dead zone for the RX axis.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>float</code></td>
<td class="colLast"><code><strong><a href="../../../org/lwjgl/input/Controller.html#getRXAxisValue()">getRXAxisValue</a></strong>()</code>
<div class="block">Get the value from the RX axis if there is one.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>float</code></td>
<td class="colLast"><code><strong><a href="../../../org/lwjgl/input/Controller.html#getRYAxisDeadZone()">getRYAxisDeadZone</a></strong>()</code>
<div class="block">Get the dead zone for the RY axis.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>float</code></td>
<td class="colLast"><code><strong><a href="../../../org/lwjgl/input/Controller.html#getRYAxisValue()">getRYAxisValue</a></strong>()</code>
<div class="block">Get the value from the RY axis if there is one.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>float</code></td>
<td class="colLast"><code><strong><a href="../../../org/lwjgl/input/Controller.html#getRZAxisDeadZone()">getRZAxisDeadZone</a></strong>()</code>
<div class="block">Get the dead zone for the RZ axis.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>float</code></td>
<td class="colLast"><code><strong><a href="../../../org/lwjgl/input/Controller.html#getRZAxisValue()">getRZAxisValue</a></strong>()</code>
<div class="block">Get the value from the RZ axis if there is one.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>float</code></td>
<td class="colLast"><code><strong><a href="../../../org/lwjgl/input/Controller.html#getXAxisDeadZone()">getXAxisDeadZone</a></strong>()</code>
<div class="block">Get the dead zone for the X axis.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>float</code></td>
<td class="colLast"><code><strong><a href="../../../org/lwjgl/input/Controller.html#getXAxisValue()">getXAxisValue</a></strong>()</code>
<div class="block">Get the value from the X axis if there is one.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>float</code></td>
<td class="colLast"><code><strong><a href="../../../org/lwjgl/input/Controller.html#getYAxisDeadZone()">getYAxisDeadZone</a></strong>()</code>
<div class="block">Get the dead zone for the Y axis.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>float</code></td>
<td class="colLast"><code><strong><a href="../../../org/lwjgl/input/Controller.html#getYAxisValue()">getYAxisValue</a></strong>()</code>
<div class="block">Get the value from the Y axis if there is one.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>float</code></td>
<td class="colLast"><code><strong><a href="../../../org/lwjgl/input/Controller.html#getZAxisDeadZone()">getZAxisDeadZone</a></strong>()</code>
<div class="block">Get the dead zone for the Z axis.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>float</code></td>
<td class="colLast"><code><strong><a href="../../../org/lwjgl/input/Controller.html#getZAxisValue()">getZAxisValue</a></strong>()</code>
<div class="block">Get the value from the Z axis if there is one.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><strong><a href="../../../org/lwjgl/input/Controller.html#isButtonPressed(int)">isButtonPressed</a></strong>(int&nbsp;index)</code>
<div class="block">Check if a button is currently pressed</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../org/lwjgl/input/Controller.html#poll()">poll</a></strong>()</code>
<div class="block">Poll the controller for new data.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../org/lwjgl/input/Controller.html#setDeadZone(int, float)">setDeadZone</a></strong>(int&nbsp;index,
float&nbsp;zone)</code>
<div class="block">Set the dead zone for the specified axis</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../org/lwjgl/input/Controller.html#setRumblerStrength(int, float)">setRumblerStrength</a></strong>(int&nbsp;index,
float&nbsp;strength)</code>
<div class="block">Sets the vibration strength of the specified rumbler</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../org/lwjgl/input/Controller.html#setRXAxisDeadZone(float)">setRXAxisDeadZone</a></strong>(float&nbsp;zone)</code>
<div class="block">Set the dead zone for the RX axis</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../org/lwjgl/input/Controller.html#setRYAxisDeadZone(float)">setRYAxisDeadZone</a></strong>(float&nbsp;zone)</code>
<div class="block">Set the dead zone for the RY axis</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../org/lwjgl/input/Controller.html#setRZAxisDeadZone(float)">setRZAxisDeadZone</a></strong>(float&nbsp;zone)</code>
<div class="block">Set the dead zone for the RZ axis</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../org/lwjgl/input/Controller.html#setXAxisDeadZone(float)">setXAxisDeadZone</a></strong>(float&nbsp;zone)</code>
<div class="block">Set the dead zone for the X axis</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../org/lwjgl/input/Controller.html#setYAxisDeadZone(float)">setYAxisDeadZone</a></strong>(float&nbsp;zone)</code>
<div class="block">Set the dead zone for the Y axis</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../org/lwjgl/input/Controller.html#setZAxisDeadZone(float)">setZAxisDeadZone</a></strong>(float&nbsp;zone)</code>
<div class="block">Set the dead zone for the Z axis</div>
</td>
</tr>
</table>
</li>
</ul>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method_detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a name="getName()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getName</h4>
<pre>java.lang.String&nbsp;getName()</pre>
<div class="block">Get the name assigned to this controller.</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>The name assigned to this controller</dd></dl>
</li>
</ul>
<a name="getIndex()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getIndex</h4>
<pre>int&nbsp;getIndex()</pre>
<div class="block">Get the index of this controller in the collection</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>The index of this controller in the collection</dd></dl>
</li>
</ul>
<a name="getButtonCount()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getButtonCount</h4>
<pre>int&nbsp;getButtonCount()</pre>
<div class="block">Retrieve the number of buttons available on this controller</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>The number of butotns available on this controller</dd></dl>
</li>
</ul>
<a name="getButtonName(int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getButtonName</h4>
<pre>java.lang.String&nbsp;getButtonName(int&nbsp;index)</pre>
<div class="block">Get the name of the specified button. Be warned, often this is
as exciting as "Button X"</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>index</code> - The index of the button whose name should be retrieved</dd>
<dt><span class="strong">Returns:</span></dt><dd>The name of the button requested</dd></dl>
</li>
</ul>
<a name="isButtonPressed(int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isButtonPressed</h4>
<pre>boolean&nbsp;isButtonPressed(int&nbsp;index)</pre>
<div class="block">Check if a button is currently pressed</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>index</code> - The button to check</dd>
<dt><span class="strong">Returns:</span></dt><dd>True if the button is currently pressed</dd></dl>
</li>
</ul>
<a name="poll()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>poll</h4>
<pre>void&nbsp;poll()</pre>
<div class="block">Poll the controller for new data. This will also update
events</div>
</li>
</ul>
<a name="getPovX()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getPovX</h4>
<pre>float&nbsp;getPovX()</pre>
<div class="block">Get the X-Axis value of the POV on this controller</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>The X-Axis value of the POV on this controller</dd></dl>
</li>
</ul>
<a name="getPovY()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getPovY</h4>
<pre>float&nbsp;getPovY()</pre>
<div class="block">Get the Y-Axis value of the POV on this controller</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>The Y-Axis value of the POV on this controller</dd></dl>
</li>
</ul>
<a name="getDeadZone(int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getDeadZone</h4>
<pre>float&nbsp;getDeadZone(int&nbsp;index)</pre>
<div class="block">Get the dead zone for a specified axis</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>index</code> - The index of the axis for which to retrieve the dead zone</dd>
<dt><span class="strong">Returns:</span></dt><dd>The dead zone for the specified axis</dd></dl>
</li>
</ul>
<a name="setDeadZone(int, float)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setDeadZone</h4>
<pre>void&nbsp;setDeadZone(int&nbsp;index,
float&nbsp;zone)</pre>
<div class="block">Set the dead zone for the specified axis</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>index</code> - The index of hte axis for which to set the dead zone</dd><dd><code>zone</code> - The dead zone to use for the specified axis</dd></dl>
</li>
</ul>
<a name="getAxisCount()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getAxisCount</h4>
<pre>int&nbsp;getAxisCount()</pre>
<div class="block">Retrieve the number of axes available on this controller.</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>The number of axes available on this controller.</dd></dl>
</li>
</ul>
<a name="getAxisName(int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getAxisName</h4>
<pre>java.lang.String&nbsp;getAxisName(int&nbsp;index)</pre>
<div class="block">Get the name that's given to the specified axis</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>index</code> - The index of the axis whose name should be retrieved</dd>
<dt><span class="strong">Returns:</span></dt><dd>The name of the specified axis.</dd></dl>
</li>
</ul>
<a name="getAxisValue(int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getAxisValue</h4>
<pre>float&nbsp;getAxisValue(int&nbsp;index)</pre>
<div class="block">Retrieve the value thats currently available on a specified axis. The
value will always be between 1.0 and -1.0 and will calibrate as values
are passed read. It may be useful to get the player to wiggle the joystick
from side to side to get the calibration right.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>index</code> - The index of axis to be read</dd>
<dt><span class="strong">Returns:</span></dt><dd>The value from the specified axis.</dd></dl>
</li>
</ul>
<a name="getXAxisValue()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getXAxisValue</h4>
<pre>float&nbsp;getXAxisValue()</pre>
<div class="block">Get the value from the X axis if there is one. If no X axis is
defined a zero value will be returned.</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>The value from the X axis</dd></dl>
</li>
</ul>
<a name="getXAxisDeadZone()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getXAxisDeadZone</h4>
<pre>float&nbsp;getXAxisDeadZone()</pre>
<div class="block">Get the dead zone for the X axis.</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>The dead zone for the X axis</dd></dl>
</li>
</ul>
<a name="setXAxisDeadZone(float)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setXAxisDeadZone</h4>
<pre>void&nbsp;setXAxisDeadZone(float&nbsp;zone)</pre>
<div class="block">Set the dead zone for the X axis</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>zone</code> - The dead zone to use for the X axis</dd></dl>
</li>
</ul>
<a name="getYAxisValue()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getYAxisValue</h4>
<pre>float&nbsp;getYAxisValue()</pre>
<div class="block">Get the value from the Y axis if there is one. If no Y axis is
defined a zero value will be returned.</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>The value from the Y axis</dd></dl>
</li>
</ul>
<a name="getYAxisDeadZone()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getYAxisDeadZone</h4>
<pre>float&nbsp;getYAxisDeadZone()</pre>
<div class="block">Get the dead zone for the Y axis.</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>The dead zone for the Y axis</dd></dl>
</li>
</ul>
<a name="setYAxisDeadZone(float)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setYAxisDeadZone</h4>
<pre>void&nbsp;setYAxisDeadZone(float&nbsp;zone)</pre>
<div class="block">Set the dead zone for the Y axis</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>zone</code> - The dead zone to use for the Y axis</dd></dl>
</li>
</ul>
<a name="getZAxisValue()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getZAxisValue</h4>
<pre>float&nbsp;getZAxisValue()</pre>
<div class="block">Get the value from the Z axis if there is one. If no Z axis is
defined a zero value will be returned.</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>The value from the Z axis</dd></dl>
</li>
</ul>
<a name="getZAxisDeadZone()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getZAxisDeadZone</h4>
<pre>float&nbsp;getZAxisDeadZone()</pre>
<div class="block">Get the dead zone for the Z axis.</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>The dead zone for the Z axis</dd></dl>
</li>
</ul>
<a name="setZAxisDeadZone(float)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setZAxisDeadZone</h4>
<pre>void&nbsp;setZAxisDeadZone(float&nbsp;zone)</pre>
<div class="block">Set the dead zone for the Z axis</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>zone</code> - The dead zone to use for the Z axis</dd></dl>
</li>
</ul>
<a name="getRXAxisValue()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getRXAxisValue</h4>
<pre>float&nbsp;getRXAxisValue()</pre>
<div class="block">Get the value from the RX axis if there is one. If no RX axis is
defined a zero value will be returned.</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>The value from the RX axis</dd></dl>
</li>
</ul>
<a name="getRXAxisDeadZone()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getRXAxisDeadZone</h4>
<pre>float&nbsp;getRXAxisDeadZone()</pre>
<div class="block">Get the dead zone for the RX axis.</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>The dead zone for the RX axis</dd></dl>
</li>
</ul>
<a name="setRXAxisDeadZone(float)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setRXAxisDeadZone</h4>
<pre>void&nbsp;setRXAxisDeadZone(float&nbsp;zone)</pre>
<div class="block">Set the dead zone for the RX axis</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>zone</code> - The dead zone to use for the RX axis</dd></dl>
</li>
</ul>
<a name="getRYAxisValue()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getRYAxisValue</h4>
<pre>float&nbsp;getRYAxisValue()</pre>
<div class="block">Get the value from the RY axis if there is one. If no RY axis is
defined a zero value will be returned.</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>The value from the RY axis</dd></dl>
</li>
</ul>
<a name="getRYAxisDeadZone()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getRYAxisDeadZone</h4>
<pre>float&nbsp;getRYAxisDeadZone()</pre>
<div class="block">Get the dead zone for the RY axis.</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>The dead zone for the RY axis</dd></dl>
</li>
</ul>
<a name="setRYAxisDeadZone(float)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setRYAxisDeadZone</h4>
<pre>void&nbsp;setRYAxisDeadZone(float&nbsp;zone)</pre>
<div class="block">Set the dead zone for the RY axis</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>zone</code> - The dead zone to use for the RY axis</dd></dl>
</li>
</ul>
<a name="getRZAxisValue()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getRZAxisValue</h4>
<pre>float&nbsp;getRZAxisValue()</pre>
<div class="block">Get the value from the RZ axis if there is one. If no RZ axis is
defined a zero value will be returned.</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>The value from the RZ axis</dd></dl>
</li>
</ul>
<a name="getRZAxisDeadZone()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getRZAxisDeadZone</h4>
<pre>float&nbsp;getRZAxisDeadZone()</pre>
<div class="block">Get the dead zone for the RZ axis.</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>The dead zone for the RZ axis</dd></dl>
</li>
</ul>
<a name="setRZAxisDeadZone(float)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setRZAxisDeadZone</h4>
<pre>void&nbsp;setRZAxisDeadZone(float&nbsp;zone)</pre>
<div class="block">Set the dead zone for the RZ axis</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>zone</code> - The dead zone to use for the RZ axis</dd></dl>
</li>
</ul>
<a name="getRumblerCount()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getRumblerCount</h4>
<pre>int&nbsp;getRumblerCount()</pre>
<div class="block">Returns the number of rumblers this controller supports</div>
</li>
</ul>
<a name="getRumblerName(int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getRumblerName</h4>
<pre>java.lang.String&nbsp;getRumblerName(int&nbsp;index)</pre>
<div class="block">Returns the name of the specified rumbler</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>index</code> - The rumbler index</dd></dl>
</li>
</ul>
<a name="setRumblerStrength(int, float)">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>setRumblerStrength</h4>
<pre>void&nbsp;setRumblerStrength(int&nbsp;index,
float&nbsp;strength)</pre>
<div class="block">Sets the vibration strength of the specified rumbler</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>index</code> - The index of the rumbler</dd><dd><code>strength</code> - The strength to vibrate at</dd></dl>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
</div>
<!-- ========= END OF CLASS DATA ========= -->
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar_bottom">
<!-- -->
</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/Controller.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../index-all.html">Index</a></li>
<li><a href="../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li>Prev Class</li>
<li><a href="../../../org/lwjgl/input/Controllers.html" title="class in org.lwjgl.input"><span class="strong">Next Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../index.html?org/lwjgl/input/Controller.html" target="_top">Frames</a></li>
<li><a href="Controller.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../allclasses-noframe.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method_summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method_detail">Method</a></li>
</ul>
</div>
<a name="skip-navbar_bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<p class="legalCopy"><small><i>Copyright &#169; 2002-2009 lwjgl.org. All Rights Reserved.</i></small></p>
</body>
</html>

View File

@@ -0,0 +1,585 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (version 1.7.0_17) on Mon Dec 02 20:33:00 CET 2013 -->
<title>Controllers (LWJGL API)</title>
<meta name="date" content="2013-12-02">
<link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style">
</head>
<body>
<script type="text/javascript"><!--
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="Controllers (LWJGL API)";
}
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar_top">
<!-- -->
</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/Controllers.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../index-all.html">Index</a></li>
<li><a href="../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../org/lwjgl/input/Controller.html" title="interface in org.lwjgl.input"><span class="strong">Prev Class</span></a></li>
<li><a href="../../../org/lwjgl/input/Cursor.html" title="class in org.lwjgl.input"><span class="strong">Next Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../index.html?org/lwjgl/input/Controllers.html" target="_top">Frames</a></li>
<li><a href="Controllers.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../allclasses-noframe.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor_summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method_summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor_detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method_detail">Method</a></li>
</ul>
</div>
<a name="skip-navbar_top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<!-- ======== START OF CLASS DATA ======== -->
<div class="header">
<div class="subTitle">org.lwjgl.input</div>
<h2 title="Class Controllers" class="title">Class Controllers</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li>java.lang.Object</li>
<li>
<ul class="inheritance">
<li>org.lwjgl.input.Controllers</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<hr>
<br>
<pre>public class <span class="strong">Controllers</span>
extends java.lang.Object</pre>
<div class="block">The collection of controllers currently connected.</div>
<dl><dt><span class="strong">Author:</span></dt>
<dd>Kevin Glass</dd></dl>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor_summary">
<!-- -->
</a>
<h3>Constructor Summary</h3>
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
<caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colOne" scope="col">Constructor and Description</th>
</tr>
<tr class="altColor">
<td class="colOne"><code><strong><a href="../../../org/lwjgl/input/Controllers.html#Controllers()">Controllers</a></strong>()</code>&nbsp;</td>
</tr>
</table>
</li>
</ul>
<!-- ========== METHOD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="method_summary">
<!-- -->
</a>
<h3>Method Summary</h3>
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
<caption><span>Methods</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static void</code></td>
<td class="colLast"><code><strong><a href="../../../org/lwjgl/input/Controllers.html#clearEvents()">clearEvents</a></strong>()</code>
<div class="block">Clear any events stored for the controllers in this set</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static void</code></td>
<td class="colLast"><code><strong><a href="../../../org/lwjgl/input/Controllers.html#create()">create</a></strong>()</code>
<div class="block">Initialise the controllers collection</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static void</code></td>
<td class="colLast"><code><strong><a href="../../../org/lwjgl/input/Controllers.html#destroy()">destroy</a></strong>()</code>
<div class="block">Destroys any resources used by the controllers</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="../../../org/lwjgl/input/Controller.html" title="interface in org.lwjgl.input">Controller</a></code></td>
<td class="colLast"><code><strong><a href="../../../org/lwjgl/input/Controllers.html#getController(int)">getController</a></strong>(int&nbsp;index)</code>
<div class="block">Get a controller from the collection</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static int</code></td>
<td class="colLast"><code><strong><a href="../../../org/lwjgl/input/Controllers.html#getControllerCount()">getControllerCount</a></strong>()</code>
<div class="block">Retrieve a count of the number of controllers</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static boolean</code></td>
<td class="colLast"><code><strong><a href="../../../org/lwjgl/input/Controllers.html#getEventButtonState()">getEventButtonState</a></strong>()</code>
<div class="block">Gets the state of the button that generated the current event</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static int</code></td>
<td class="colLast"><code><strong><a href="../../../org/lwjgl/input/Controllers.html#getEventControlIndex()">getEventControlIndex</a></strong>()</code>
<div class="block">Get the index of the control that caused the current event</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static long</code></td>
<td class="colLast"><code><strong><a href="../../../org/lwjgl/input/Controllers.html#getEventNanoseconds()">getEventNanoseconds</a></strong>()</code>
<div class="block">Get the timestamp assigned to the current event</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="../../../org/lwjgl/input/Controller.html" title="interface in org.lwjgl.input">Controller</a></code></td>
<td class="colLast"><code><strong><a href="../../../org/lwjgl/input/Controllers.html#getEventSource()">getEventSource</a></strong>()</code>
<div class="block">Get the source of the current event</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static float</code></td>
<td class="colLast"><code><strong><a href="../../../org/lwjgl/input/Controllers.html#getEventXAxisValue()">getEventXAxisValue</a></strong>()</code>
<div class="block">Get the value on an X axis of the current event</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static float</code></td>
<td class="colLast"><code><strong><a href="../../../org/lwjgl/input/Controllers.html#getEventYAxisValue()">getEventYAxisValue</a></strong>()</code>
<div class="block">Get the value on an Y axis of the current event</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static boolean</code></td>
<td class="colLast"><code><strong><a href="../../../org/lwjgl/input/Controllers.html#isCreated()">isCreated</a></strong>()</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static boolean</code></td>
<td class="colLast"><code><strong><a href="../../../org/lwjgl/input/Controllers.html#isEventAxis()">isEventAxis</a></strong>()</code>
<div class="block">Check if the current event was caused by a axis</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static boolean</code></td>
<td class="colLast"><code><strong><a href="../../../org/lwjgl/input/Controllers.html#isEventButton()">isEventButton</a></strong>()</code>
<div class="block">Check if the current event was caused by a button</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static boolean</code></td>
<td class="colLast"><code><strong><a href="../../../org/lwjgl/input/Controllers.html#isEventPovX()">isEventPovX</a></strong>()</code>
<div class="block">Check if the current event was cause by the POV x-axis</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static boolean</code></td>
<td class="colLast"><code><strong><a href="../../../org/lwjgl/input/Controllers.html#isEventPovY()">isEventPovY</a></strong>()</code>
<div class="block">Check if the current event was cause by the POV x-axis</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static boolean</code></td>
<td class="colLast"><code><strong><a href="../../../org/lwjgl/input/Controllers.html#isEventXAxis()">isEventXAxis</a></strong>()</code>
<div class="block">Check if the current event was caused by movement on the x-axis</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static boolean</code></td>
<td class="colLast"><code><strong><a href="../../../org/lwjgl/input/Controllers.html#isEventYAxis()">isEventYAxis</a></strong>()</code>
<div class="block">Check if the current event was caused by movement on the y-axis</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static boolean</code></td>
<td class="colLast"><code><strong><a href="../../../org/lwjgl/input/Controllers.html#next()">next</a></strong>()</code>
<div class="block">Move to the next event that has been stored.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static void</code></td>
<td class="colLast"><code><strong><a href="../../../org/lwjgl/input/Controllers.html#poll()">poll</a></strong>()</code>
<div class="block">Poll the controllers available.</div>
</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="methods_inherited_from_class_java.lang.Object">
<!-- -->
</a>
<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>
</li>
</ul>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor_detail">
<!-- -->
</a>
<h3>Constructor Detail</h3>
<a name="Controllers()">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>Controllers</h4>
<pre>public&nbsp;Controllers()</pre>
</li>
</ul>
</li>
</ul>
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method_detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a name="create()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>create</h4>
<pre>public static&nbsp;void&nbsp;create()
throws <a href="../../../org/lwjgl/LWJGLException.html" title="class in org.lwjgl">LWJGLException</a></pre>
<div class="block">Initialise the controllers collection</div>
<dl><dt><span class="strong">Throws:</span></dt>
<dd><code><a href="../../../org/lwjgl/LWJGLException.html" title="class in org.lwjgl">LWJGLException</a></code> - Indicates a failure to initialise the controller library.</dd></dl>
</li>
</ul>
<a name="getController(int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getController</h4>
<pre>public static&nbsp;<a href="../../../org/lwjgl/input/Controller.html" title="interface in org.lwjgl.input">Controller</a>&nbsp;getController(int&nbsp;index)</pre>
<div class="block">Get a controller from the collection</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>index</code> - The index of the controller to retrieve</dd>
<dt><span class="strong">Returns:</span></dt><dd>The controller requested</dd></dl>
</li>
</ul>
<a name="getControllerCount()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getControllerCount</h4>
<pre>public static&nbsp;int&nbsp;getControllerCount()</pre>
<div class="block">Retrieve a count of the number of controllers</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>The number of controllers available</dd></dl>
</li>
</ul>
<a name="poll()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>poll</h4>
<pre>public static&nbsp;void&nbsp;poll()</pre>
<div class="block">Poll the controllers available. This will both update their state
and generate events that must be cleared.</div>
</li>
</ul>
<a name="clearEvents()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>clearEvents</h4>
<pre>public static&nbsp;void&nbsp;clearEvents()</pre>
<div class="block">Clear any events stored for the controllers in this set</div>
</li>
</ul>
<a name="next()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>next</h4>
<pre>public static&nbsp;boolean&nbsp;next()</pre>
<div class="block">Move to the next event that has been stored.</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>True if there is still an event to process</dd></dl>
</li>
</ul>
<a name="isCreated()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isCreated</h4>
<pre>public static&nbsp;boolean&nbsp;isCreated()</pre>
<dl><dt><span class="strong">Returns:</span></dt><dd>True if Controllers has been created</dd></dl>
</li>
</ul>
<a name="destroy()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>destroy</h4>
<pre>public static&nbsp;void&nbsp;destroy()</pre>
<div class="block">Destroys any resources used by the controllers</div>
</li>
</ul>
<a name="getEventSource()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getEventSource</h4>
<pre>public static&nbsp;<a href="../../../org/lwjgl/input/Controller.html" title="interface in org.lwjgl.input">Controller</a>&nbsp;getEventSource()</pre>
<div class="block">Get the source of the current event</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>The source of the current event</dd></dl>
</li>
</ul>
<a name="getEventControlIndex()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getEventControlIndex</h4>
<pre>public static&nbsp;int&nbsp;getEventControlIndex()</pre>
<div class="block">Get the index of the control that caused the current event</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>The index of the control that cause the current event</dd></dl>
</li>
</ul>
<a name="isEventButton()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isEventButton</h4>
<pre>public static&nbsp;boolean&nbsp;isEventButton()</pre>
<div class="block">Check if the current event was caused by a button</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>True if the current event was caused by a button</dd></dl>
</li>
</ul>
<a name="isEventAxis()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isEventAxis</h4>
<pre>public static&nbsp;boolean&nbsp;isEventAxis()</pre>
<div class="block">Check if the current event was caused by a axis</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>True if the current event was caused by a axis</dd></dl>
</li>
</ul>
<a name="isEventXAxis()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isEventXAxis</h4>
<pre>public static&nbsp;boolean&nbsp;isEventXAxis()</pre>
<div class="block">Check if the current event was caused by movement on the x-axis</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>True if the current event was cause by movement on the x-axis</dd></dl>
</li>
</ul>
<a name="isEventYAxis()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isEventYAxis</h4>
<pre>public static&nbsp;boolean&nbsp;isEventYAxis()</pre>
<div class="block">Check if the current event was caused by movement on the y-axis</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>True if the current event was caused by movement on the y-axis</dd></dl>
</li>
</ul>
<a name="isEventPovX()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isEventPovX</h4>
<pre>public static&nbsp;boolean&nbsp;isEventPovX()</pre>
<div class="block">Check if the current event was cause by the POV x-axis</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>True if the current event was caused by the POV x-axis</dd></dl>
</li>
</ul>
<a name="isEventPovY()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isEventPovY</h4>
<pre>public static&nbsp;boolean&nbsp;isEventPovY()</pre>
<div class="block">Check if the current event was cause by the POV x-axis</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>True if the current event was caused by the POV x-axis</dd></dl>
</li>
</ul>
<a name="getEventNanoseconds()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getEventNanoseconds</h4>
<pre>public static&nbsp;long&nbsp;getEventNanoseconds()</pre>
<div class="block">Get the timestamp assigned to the current event</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>The timestamp assigned to the current event</dd></dl>
</li>
</ul>
<a name="getEventButtonState()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getEventButtonState</h4>
<pre>public static&nbsp;boolean&nbsp;getEventButtonState()</pre>
<div class="block">Gets the state of the button that generated the current event</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>True if button was down, or false if released</dd></dl>
</li>
</ul>
<a name="getEventXAxisValue()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getEventXAxisValue</h4>
<pre>public static&nbsp;float&nbsp;getEventXAxisValue()</pre>
<div class="block">Get the value on an X axis of the current event</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>The value on a x axis of the current event</dd></dl>
</li>
</ul>
<a name="getEventYAxisValue()">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>getEventYAxisValue</h4>
<pre>public static&nbsp;float&nbsp;getEventYAxisValue()</pre>
<div class="block">Get the value on an Y axis of the current event</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>The value on a y axis of the current event</dd></dl>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
</div>
<!-- ========= END OF CLASS DATA ========= -->
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar_bottom">
<!-- -->
</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/Controllers.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../index-all.html">Index</a></li>
<li><a href="../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../org/lwjgl/input/Controller.html" title="interface in org.lwjgl.input"><span class="strong">Prev Class</span></a></li>
<li><a href="../../../org/lwjgl/input/Cursor.html" title="class in org.lwjgl.input"><span class="strong">Next Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../index.html?org/lwjgl/input/Controllers.html" target="_top">Frames</a></li>
<li><a href="Controllers.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../allclasses-noframe.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor_summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method_summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor_detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method_detail">Method</a></li>
</ul>
</div>
<a name="skip-navbar_bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<p class="legalCopy"><small><i>Copyright &#169; 2002-2009 lwjgl.org. All Rights Reserved.</i></small></p>
</body>
</html>

View File

@@ -0,0 +1,472 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (version 1.7.0_17) on Mon Dec 02 20:33:00 CET 2013 -->
<title>Cursor (LWJGL API)</title>
<meta name="date" content="2013-12-02">
<link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style">
</head>
<body>
<script type="text/javascript"><!--
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="Cursor (LWJGL API)";
}
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar_top">
<!-- -->
</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/Cursor.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../index-all.html">Index</a></li>
<li><a href="../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../org/lwjgl/input/Controllers.html" title="class in org.lwjgl.input"><span class="strong">Prev Class</span></a></li>
<li><a href="../../../org/lwjgl/input/Keyboard.html" title="class in org.lwjgl.input"><span class="strong">Next Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../index.html?org/lwjgl/input/Cursor.html" target="_top">Frames</a></li>
<li><a href="Cursor.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../allclasses-noframe.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li><a href="#field_summary">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor_summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method_summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li><a href="#field_detail">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor_detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method_detail">Method</a></li>
</ul>
</div>
<a name="skip-navbar_top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<!-- ======== START OF CLASS DATA ======== -->
<div class="header">
<div class="subTitle">org.lwjgl.input</div>
<h2 title="Class Cursor" class="title">Class Cursor</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li>java.lang.Object</li>
<li>
<ul class="inheritance">
<li>org.lwjgl.input.Cursor</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<hr>
<br>
<pre>public class <span class="strong">Cursor</span>
extends java.lang.Object</pre>
<div class="block">A class representing a native cursor. Instances of this
class can be used with Mouse.setCursor(), if available.</div>
<dl><dt><span class="strong">Version:</span></dt>
<dd>$Revision$
$Id$</dd>
<dt><span class="strong">Author:</span></dt>
<dd>elias_naur <elias_naur@users.sourceforge.net></dd></dl>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- =========== FIELD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="field_summary">
<!-- -->
</a>
<h3>Field Summary</h3>
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation">
<caption><span>Fields</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Field and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static int</code></td>
<td class="colLast"><code><strong><a href="../../../org/lwjgl/input/Cursor.html#CURSOR_8_BIT_ALPHA">CURSOR_8_BIT_ALPHA</a></strong></code>
<div class="block">8 bit alhpa native cursor</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static int</code></td>
<td class="colLast"><code><strong><a href="../../../org/lwjgl/input/Cursor.html#CURSOR_ANIMATION">CURSOR_ANIMATION</a></strong></code>
<div class="block">animation native cursor</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static int</code></td>
<td class="colLast"><code><strong><a href="../../../org/lwjgl/input/Cursor.html#CURSOR_ONE_BIT_TRANSPARENCY">CURSOR_ONE_BIT_TRANSPARENCY</a></strong></code>
<div class="block">1 bit transparency for native cursor</div>
</td>
</tr>
</table>
</li>
</ul>
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor_summary">
<!-- -->
</a>
<h3>Constructor Summary</h3>
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
<caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colOne" scope="col">Constructor and Description</th>
</tr>
<tr class="altColor">
<td class="colOne"><code><strong><a href="../../../org/lwjgl/input/Cursor.html#Cursor(int, int, int, int, int, java.nio.IntBuffer, java.nio.IntBuffer)">Cursor</a></strong>(int&nbsp;width,
int&nbsp;height,
int&nbsp;xHotspot,
int&nbsp;yHotspot,
int&nbsp;numImages,
java.nio.IntBuffer&nbsp;images,
java.nio.IntBuffer&nbsp;delays)</code>
<div class="block">Constructs a new Cursor, with the given parameters.</div>
</td>
</tr>
</table>
</li>
</ul>
<!-- ========== METHOD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="method_summary">
<!-- -->
</a>
<h3>Method Summary</h3>
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
<caption><span>Methods</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../org/lwjgl/input/Cursor.html#destroy()">destroy</a></strong>()</code>
<div class="block">Destroy the native cursor.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static int</code></td>
<td class="colLast"><code><strong><a href="../../../org/lwjgl/input/Cursor.html#getCapabilities()">getCapabilities</a></strong>()</code>
<div class="block">Get the capabilities of the native cursor.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static int</code></td>
<td class="colLast"><code><strong><a href="../../../org/lwjgl/input/Cursor.html#getMaxCursorSize()">getMaxCursorSize</a></strong>()</code>
<div class="block">Gets the maximum size of a native cursor.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static int</code></td>
<td class="colLast"><code><strong><a href="../../../org/lwjgl/input/Cursor.html#getMinCursorSize()">getMinCursorSize</a></strong>()</code>
<div class="block">Gets the minimum size of a native cursor.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected boolean</code></td>
<td class="colLast"><code><strong><a href="../../../org/lwjgl/input/Cursor.html#hasTimedOut()">hasTimedOut</a></strong>()</code>
<div class="block">Determines whether this cursor has timed out</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected void</code></td>
<td class="colLast"><code><strong><a href="../../../org/lwjgl/input/Cursor.html#nextCursor()">nextCursor</a></strong>()</code>
<div class="block">Changes to the next cursor</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected void</code></td>
<td class="colLast"><code><strong><a href="../../../org/lwjgl/input/Cursor.html#setTimeout()">setTimeout</a></strong>()</code>
<div class="block">Sets the timout property to the time it should be changed</div>
</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="methods_inherited_from_class_java.lang.Object">
<!-- -->
</a>
<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>
</li>
</ul>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ============ FIELD DETAIL =========== -->
<ul class="blockList">
<li class="blockList"><a name="field_detail">
<!-- -->
</a>
<h3>Field Detail</h3>
<a name="CURSOR_ONE_BIT_TRANSPARENCY">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>CURSOR_ONE_BIT_TRANSPARENCY</h4>
<pre>public static final&nbsp;int CURSOR_ONE_BIT_TRANSPARENCY</pre>
<div class="block">1 bit transparency for native cursor</div>
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../constant-values.html#org.lwjgl.input.Cursor.CURSOR_ONE_BIT_TRANSPARENCY">Constant Field Values</a></dd></dl>
</li>
</ul>
<a name="CURSOR_8_BIT_ALPHA">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>CURSOR_8_BIT_ALPHA</h4>
<pre>public static final&nbsp;int CURSOR_8_BIT_ALPHA</pre>
<div class="block">8 bit alhpa native cursor</div>
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../constant-values.html#org.lwjgl.input.Cursor.CURSOR_8_BIT_ALPHA">Constant Field Values</a></dd></dl>
</li>
</ul>
<a name="CURSOR_ANIMATION">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>CURSOR_ANIMATION</h4>
<pre>public static final&nbsp;int CURSOR_ANIMATION</pre>
<div class="block">animation native cursor</div>
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../constant-values.html#org.lwjgl.input.Cursor.CURSOR_ANIMATION">Constant Field Values</a></dd></dl>
</li>
</ul>
</li>
</ul>
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor_detail">
<!-- -->
</a>
<h3>Constructor Detail</h3>
<a name="Cursor(int, int, int, int, int, java.nio.IntBuffer, java.nio.IntBuffer)">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>Cursor</h4>
<pre>public&nbsp;Cursor(int&nbsp;width,
int&nbsp;height,
int&nbsp;xHotspot,
int&nbsp;yHotspot,
int&nbsp;numImages,
java.nio.IntBuffer&nbsp;images,
java.nio.IntBuffer&nbsp;delays)
throws <a href="../../../org/lwjgl/LWJGLException.html" title="class in org.lwjgl">LWJGLException</a></pre>
<div class="block">Constructs a new Cursor, with the given parameters. Mouse must have been created before you can create
Cursor objects. Cursor images are in ARGB format, but only one bit transparancy is guaranteed to be supported.
So to maximize portability, lwjgl applications should only create cursor images with 0x00 or 0xff as alpha values.
The constructor will copy the images and delays, so there's no need to keep them around.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>width</code> - cursor image width</dd><dd><code>height</code> - cursor image height</dd><dd><code>xHotspot</code> - the x coordinate of the cursor hotspot</dd><dd><code>yHotspot</code> - the y coordinate of the cursor hotspot</dd><dd><code>numImages</code> - number of cursor images specified. Must be 1 if animations are not supported.</dd><dd><code>images</code> - A buffer containing the images. The origin is at the lower left corner, like OpenGL.</dd><dd><code>delays</code> - An int buffer of animation frame delays, if numImages is greater than 1, else null</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code><a href="../../../org/lwjgl/LWJGLException.html" title="class in org.lwjgl">LWJGLException</a></code> - if the cursor could not be created for any reason</dd></dl>
</li>
</ul>
</li>
</ul>
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method_detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a name="getMinCursorSize()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getMinCursorSize</h4>
<pre>public static&nbsp;int&nbsp;getMinCursorSize()</pre>
<div class="block">Gets the minimum size of a native cursor. Can only be called if
The Mouse is created and cursor caps includes at least
CURSOR_ONE_BIT_TRANSPARANCY.</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>the maximum size of a native cursor</dd></dl>
</li>
</ul>
<a name="getMaxCursorSize()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getMaxCursorSize</h4>
<pre>public static&nbsp;int&nbsp;getMaxCursorSize()</pre>
<div class="block">Gets the maximum size of a native cursor. Can only be called if
The Mouse is created and cursor caps includes at least
CURSOR_ONE_BIT_TRANSPARANCY.</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>the maximum size of a native cursor</dd></dl>
</li>
</ul>
<a name="getCapabilities()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getCapabilities</h4>
<pre>public static&nbsp;int&nbsp;getCapabilities()</pre>
<div class="block">Get the capabilities of the native cursor. Return a bit mask of the native cursor capabilities.
The CURSOR_ONE_BIT_TRANSPARANCY indicates support for cursors with one bit transparancy,
the CURSOR_8_BIT_ALPHA indicates support for 8 bit alpha and CURSOR_ANIMATION indicates
support for cursor animations.</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>A bit mask with native cursor capabilities.</dd></dl>
</li>
</ul>
<a name="destroy()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>destroy</h4>
<pre>public&nbsp;void&nbsp;destroy()</pre>
<div class="block">Destroy the native cursor. If the cursor is current,
the current native cursor is set to null (the default
OS cursor)</div>
</li>
</ul>
<a name="setTimeout()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setTimeout</h4>
<pre>protected&nbsp;void&nbsp;setTimeout()</pre>
<div class="block">Sets the timout property to the time it should be changed</div>
</li>
</ul>
<a name="hasTimedOut()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>hasTimedOut</h4>
<pre>protected&nbsp;boolean&nbsp;hasTimedOut()</pre>
<div class="block">Determines whether this cursor has timed out</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>true if the this cursor has timed out, false if not</dd></dl>
</li>
</ul>
<a name="nextCursor()">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>nextCursor</h4>
<pre>protected&nbsp;void&nbsp;nextCursor()</pre>
<div class="block">Changes to the next cursor</div>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
</div>
<!-- ========= END OF CLASS DATA ========= -->
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar_bottom">
<!-- -->
</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/Cursor.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../index-all.html">Index</a></li>
<li><a href="../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../org/lwjgl/input/Controllers.html" title="class in org.lwjgl.input"><span class="strong">Prev Class</span></a></li>
<li><a href="../../../org/lwjgl/input/Keyboard.html" title="class in org.lwjgl.input"><span class="strong">Next Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../index.html?org/lwjgl/input/Cursor.html" target="_top">Frames</a></li>
<li><a href="Cursor.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../allclasses-noframe.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li><a href="#field_summary">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor_summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method_summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li><a href="#field_detail">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor_detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method_detail">Method</a></li>
</ul>
</div>
<a name="skip-navbar_bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<p class="legalCopy"><small><i>Copyright &#169; 2002-2009 lwjgl.org. All Rights Reserved.</i></small></p>
</body>
</html>

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,814 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (version 1.7.0_17) on Mon Dec 02 20:33:00 CET 2013 -->
<title>Mouse (LWJGL API)</title>
<meta name="date" content="2013-12-02">
<link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style">
</head>
<body>
<script type="text/javascript"><!--
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="Mouse (LWJGL API)";
}
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar_top">
<!-- -->
</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/Mouse.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../index-all.html">Index</a></li>
<li><a href="../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../org/lwjgl/input/Keyboard.html" title="class in org.lwjgl.input"><span class="strong">Prev Class</span></a></li>
<li>Next Class</li>
</ul>
<ul class="navList">
<li><a href="../../../index.html?org/lwjgl/input/Mouse.html" target="_top">Frames</a></li>
<li><a href="Mouse.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../allclasses-noframe.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li><a href="#field_summary">Field</a>&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method_summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li><a href="#field_detail">Field</a>&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method_detail">Method</a></li>
</ul>
</div>
<a name="skip-navbar_top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<!-- ======== START OF CLASS DATA ======== -->
<div class="header">
<div class="subTitle">org.lwjgl.input</div>
<h2 title="Class Mouse" class="title">Class Mouse</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li>java.lang.Object</li>
<li>
<ul class="inheritance">
<li>org.lwjgl.input.Mouse</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<hr>
<br>
<pre>public class <span class="strong">Mouse</span>
extends java.lang.Object</pre>
<div class="block"><br>
A raw Mouse interface. This can be used to poll the current state of the
mouse buttons, and determine the mouse movement delta since the last poll.
n buttons supported, n being a native limit. A scrolly wheel is also
supported, if one such is available. Movement is reported as delta from
last position or as an absolute position. If the window has been created
the absolute position will be clamped to 0 - width | height.</div>
<dl><dt><span class="strong">Version:</span></dt>
<dd>$Revision$
$Id$</dd>
<dt><span class="strong">Author:</span></dt>
<dd>cix_foo <cix_foo@users.sourceforge.net>, elias_naur <elias_naur@users.sourceforge.net>, Brian Matzon <brian@matzon.dk></dd></dl>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- =========== FIELD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="field_summary">
<!-- -->
</a>
<h3>Field Summary</h3>
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation">
<caption><span>Fields</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Field and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static int</code></td>
<td class="colLast"><code><strong><a href="../../../org/lwjgl/input/Mouse.html#EVENT_SIZE">EVENT_SIZE</a></strong></code>
<div class="block">Internal use - event size in bytes</div>
</td>
</tr>
</table>
</li>
</ul>
<!-- ========== METHOD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="method_summary">
<!-- -->
</a>
<h3>Method Summary</h3>
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
<caption><span>Methods</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static void</code></td>
<td class="colLast"><code><strong><a href="../../../org/lwjgl/input/Mouse.html#create()">create</a></strong>()</code>
<div class="block">"Create" the mouse.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static void</code></td>
<td class="colLast"><code><strong><a href="../../../org/lwjgl/input/Mouse.html#destroy()">destroy</a></strong>()</code>
<div class="block">"Destroy" the mouse.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static int</code></td>
<td class="colLast"><code><strong><a href="../../../org/lwjgl/input/Mouse.html#getButtonCount()">getButtonCount</a></strong>()</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static int</code></td>
<td class="colLast"><code><strong><a href="../../../org/lwjgl/input/Mouse.html#getButtonIndex(java.lang.String)">getButtonIndex</a></strong>(java.lang.String&nbsp;buttonName)</code>
<div class="block">Get's a button's index.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static java.lang.String</code></td>
<td class="colLast"><code><strong><a href="../../../org/lwjgl/input/Mouse.html#getButtonName(int)">getButtonName</a></strong>(int&nbsp;button)</code>
<div class="block">Gets a button's name</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static int</code></td>
<td class="colLast"><code><strong><a href="../../../org/lwjgl/input/Mouse.html#getDWheel()">getDWheel</a></strong>()</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static int</code></td>
<td class="colLast"><code><strong><a href="../../../org/lwjgl/input/Mouse.html#getDX()">getDX</a></strong>()</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static int</code></td>
<td class="colLast"><code><strong><a href="../../../org/lwjgl/input/Mouse.html#getDY()">getDY</a></strong>()</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static int</code></td>
<td class="colLast"><code><strong><a href="../../../org/lwjgl/input/Mouse.html#getEventButton()">getEventButton</a></strong>()</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static boolean</code></td>
<td class="colLast"><code><strong><a href="../../../org/lwjgl/input/Mouse.html#getEventButtonState()">getEventButtonState</a></strong>()</code>
<div class="block">Get the current events button state.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static int</code></td>
<td class="colLast"><code><strong><a href="../../../org/lwjgl/input/Mouse.html#getEventDWheel()">getEventDWheel</a></strong>()</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static int</code></td>
<td class="colLast"><code><strong><a href="../../../org/lwjgl/input/Mouse.html#getEventDX()">getEventDX</a></strong>()</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static int</code></td>
<td class="colLast"><code><strong><a href="../../../org/lwjgl/input/Mouse.html#getEventDY()">getEventDY</a></strong>()</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static long</code></td>
<td class="colLast"><code><strong><a href="../../../org/lwjgl/input/Mouse.html#getEventNanoseconds()">getEventNanoseconds</a></strong>()</code>
<div class="block">Gets the time in nanoseconds of the current event.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static int</code></td>
<td class="colLast"><code><strong><a href="../../../org/lwjgl/input/Mouse.html#getEventX()">getEventX</a></strong>()</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static int</code></td>
<td class="colLast"><code><strong><a href="../../../org/lwjgl/input/Mouse.html#getEventY()">getEventY</a></strong>()</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="../../../org/lwjgl/input/Cursor.html" title="class in org.lwjgl.input">Cursor</a></code></td>
<td class="colLast"><code><strong><a href="../../../org/lwjgl/input/Mouse.html#getNativeCursor()">getNativeCursor</a></strong>()</code>
<div class="block">Gets the currently bound native cursor, if any.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static int</code></td>
<td class="colLast"><code><strong><a href="../../../org/lwjgl/input/Mouse.html#getX()">getX</a></strong>()</code>
<div class="block">Retrieves the absolute position.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static int</code></td>
<td class="colLast"><code><strong><a href="../../../org/lwjgl/input/Mouse.html#getY()">getY</a></strong>()</code>
<div class="block">Retrieves the absolute position.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static boolean</code></td>
<td class="colLast"><code><strong><a href="../../../org/lwjgl/input/Mouse.html#hasWheel()">hasWheel</a></strong>()</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static boolean</code></td>
<td class="colLast"><code><strong><a href="../../../org/lwjgl/input/Mouse.html#isButtonDown(int)">isButtonDown</a></strong>(int&nbsp;button)</code>
<div class="block">See if a particular mouse button is down.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static boolean</code></td>
<td class="colLast"><code><strong><a href="../../../org/lwjgl/input/Mouse.html#isClipMouseCoordinatesToWindow()">isClipMouseCoordinatesToWindow</a></strong>()</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static boolean</code></td>
<td class="colLast"><code><strong><a href="../../../org/lwjgl/input/Mouse.html#isCreated()">isCreated</a></strong>()</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static boolean</code></td>
<td class="colLast"><code><strong><a href="../../../org/lwjgl/input/Mouse.html#isGrabbed()">isGrabbed</a></strong>()</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static boolean</code></td>
<td class="colLast"><code><strong><a href="../../../org/lwjgl/input/Mouse.html#isInsideWindow()">isInsideWindow</a></strong>()</code>
<div class="block">Retrieves whether or not the mouse cursor is within the bounds of the window.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static boolean</code></td>
<td class="colLast"><code><strong><a href="../../../org/lwjgl/input/Mouse.html#next()">next</a></strong>()</code>
<div class="block">Gets the next mouse event.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static void</code></td>
<td class="colLast"><code><strong><a href="../../../org/lwjgl/input/Mouse.html#poll()">poll</a></strong>()</code>
<div class="block">Polls the mouse for its current state.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static void</code></td>
<td class="colLast"><code><strong><a href="../../../org/lwjgl/input/Mouse.html#setClipMouseCoordinatesToWindow(boolean)">setClipMouseCoordinatesToWindow</a></strong>(boolean&nbsp;clip)</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static void</code></td>
<td class="colLast"><code><strong><a href="../../../org/lwjgl/input/Mouse.html#setCursorPosition(int, int)">setCursorPosition</a></strong>(int&nbsp;new_x,
int&nbsp;new_y)</code>
<div class="block">Set the position of the cursor.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static void</code></td>
<td class="colLast"><code><strong><a href="../../../org/lwjgl/input/Mouse.html#setGrabbed(boolean)">setGrabbed</a></strong>(boolean&nbsp;grab)</code>
<div class="block">Sets whether or not the mouse has grabbed the cursor
(and thus hidden).</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="../../../org/lwjgl/input/Cursor.html" title="class in org.lwjgl.input">Cursor</a></code></td>
<td class="colLast"><code><strong><a href="../../../org/lwjgl/input/Mouse.html#setNativeCursor(org.lwjgl.input.Cursor)">setNativeCursor</a></strong>(<a href="../../../org/lwjgl/input/Cursor.html" title="class in org.lwjgl.input">Cursor</a>&nbsp;cursor)</code>
<div class="block">Binds a native cursor.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static void</code></td>
<td class="colLast"><code><strong><a href="../../../org/lwjgl/input/Mouse.html#updateCursor()">updateCursor</a></strong>()</code>
<div class="block">Updates the cursor, so that animation can be changed if needed.</div>
</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="methods_inherited_from_class_java.lang.Object">
<!-- -->
</a>
<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>
</li>
</ul>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ============ FIELD DETAIL =========== -->
<ul class="blockList">
<li class="blockList"><a name="field_detail">
<!-- -->
</a>
<h3>Field Detail</h3>
<a name="EVENT_SIZE">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>EVENT_SIZE</h4>
<pre>public static final&nbsp;int EVENT_SIZE</pre>
<div class="block">Internal use - event size in bytes</div>
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../constant-values.html#org.lwjgl.input.Mouse.EVENT_SIZE">Constant Field Values</a></dd></dl>
</li>
</ul>
</li>
</ul>
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method_detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a name="getNativeCursor()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getNativeCursor</h4>
<pre>public static&nbsp;<a href="../../../org/lwjgl/input/Cursor.html" title="class in org.lwjgl.input">Cursor</a>&nbsp;getNativeCursor()</pre>
<div class="block">Gets the currently bound native cursor, if any.</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>the currently bound native cursor, if any.</dd></dl>
</li>
</ul>
<a name="setNativeCursor(org.lwjgl.input.Cursor)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setNativeCursor</h4>
<pre>public static&nbsp;<a href="../../../org/lwjgl/input/Cursor.html" title="class in org.lwjgl.input">Cursor</a>&nbsp;setNativeCursor(<a href="../../../org/lwjgl/input/Cursor.html" title="class in org.lwjgl.input">Cursor</a>&nbsp;cursor)
throws <a href="../../../org/lwjgl/LWJGLException.html" title="class in org.lwjgl">LWJGLException</a></pre>
<div class="block">Binds a native cursor. If the cursor argument is null, any
currently bound native cursor is disabled, and the cursor reverts
to the default operating system supplied cursor.
NOTE: The native cursor is not constrained to the window, but
relative events will not be generated if the cursor is outside.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>cursor</code> - the native cursor object to bind. May be null.</dd>
<dt><span class="strong">Returns:</span></dt><dd>The previous Cursor object set, or null.</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code><a href="../../../org/lwjgl/LWJGLException.html" title="class in org.lwjgl">LWJGLException</a></code> - if the cursor could not be set for any reason</dd></dl>
</li>
</ul>
<a name="isClipMouseCoordinatesToWindow()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isClipMouseCoordinatesToWindow</h4>
<pre>public static&nbsp;boolean&nbsp;isClipMouseCoordinatesToWindow()</pre>
</li>
</ul>
<a name="setClipMouseCoordinatesToWindow(boolean)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setClipMouseCoordinatesToWindow</h4>
<pre>public static&nbsp;void&nbsp;setClipMouseCoordinatesToWindow(boolean&nbsp;clip)</pre>
</li>
</ul>
<a name="setCursorPosition(int, int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setCursorPosition</h4>
<pre>public static&nbsp;void&nbsp;setCursorPosition(int&nbsp;new_x,
int&nbsp;new_y)</pre>
<div class="block">Set the position of the cursor. If the cursor is not grabbed,
the native cursor is moved to the new position.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>new_x</code> - The x coordinate of the new cursor position in OpenGL coordinates relative
to the window origin.</dd><dd><code>new_y</code> - The y coordinate of the new cursor position in OpenGL coordinates relative
to the window origin.</dd></dl>
</li>
</ul>
<a name="create()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>create</h4>
<pre>public static&nbsp;void&nbsp;create()
throws <a href="../../../org/lwjgl/LWJGLException.html" title="class in org.lwjgl">LWJGLException</a></pre>
<div class="block">"Create" the mouse. The display must first have been created.
Initially, the mouse is not grabbed and the delta values are reported
with respect to the center of the display.</div>
<dl><dt><span class="strong">Throws:</span></dt>
<dd><code><a href="../../../org/lwjgl/LWJGLException.html" title="class in org.lwjgl">LWJGLException</a></code> - if the mouse could not be created for any reason</dd></dl>
</li>
</ul>
<a name="isCreated()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isCreated</h4>
<pre>public static&nbsp;boolean&nbsp;isCreated()</pre>
<dl><dt><span class="strong">Returns:</span></dt><dd>true if the mouse has been created</dd></dl>
</li>
</ul>
<a name="destroy()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>destroy</h4>
<pre>public static&nbsp;void&nbsp;destroy()</pre>
<div class="block">"Destroy" the mouse.</div>
</li>
</ul>
<a name="poll()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>poll</h4>
<pre>public static&nbsp;void&nbsp;poll()</pre>
<div class="block">Polls the mouse for its current state. Access the polled values using the
get<value> methods.
By using this method, it is possible to "miss" mouse click events if you don't
poll fast enough.
To use buffered values, you have to call <code>next</code> for each event you
want to read. You can query which button caused the event by using
<code>getEventButton</code>. To get the state of that button, for that event, use
<code>getEventButtonState</code>.
NOTE: This method does not query the operating system for new events. To do that,
Display.processMessages() (or Display.update()) must be called first.</div>
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../org/lwjgl/input/Mouse.html#next()"><code>next()</code></a>,
<a href="../../../org/lwjgl/input/Mouse.html#getEventButton()"><code>getEventButton()</code></a>,
<a href="../../../org/lwjgl/input/Mouse.html#getEventButtonState()"><code>getEventButtonState()</code></a>,
<a href="../../../org/lwjgl/input/Mouse.html#isButtonDown(int)"><code>isButtonDown(int button)</code></a>,
<a href="../../../org/lwjgl/input/Mouse.html#getX()"><code>getX()</code></a>,
<a href="../../../org/lwjgl/input/Mouse.html#getY()"><code>getY()</code></a>,
<a href="../../../org/lwjgl/input/Mouse.html#getDX()"><code>getDX()</code></a>,
<a href="../../../org/lwjgl/input/Mouse.html#getDY()"><code>getDY()</code></a>,
<a href="../../../org/lwjgl/input/Mouse.html#getDWheel()"><code>getDWheel()</code></a></dd></dl>
</li>
</ul>
<a name="isButtonDown(int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isButtonDown</h4>
<pre>public static&nbsp;boolean&nbsp;isButtonDown(int&nbsp;button)</pre>
<div class="block">See if a particular mouse button is down.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>button</code> - The index of the button you wish to test (0..getButtonCount-1)</dd>
<dt><span class="strong">Returns:</span></dt><dd>true if the specified button is down</dd></dl>
</li>
</ul>
<a name="getButtonName(int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getButtonName</h4>
<pre>public static&nbsp;java.lang.String&nbsp;getButtonName(int&nbsp;button)</pre>
<div class="block">Gets a button's name</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>button</code> - The button</dd>
<dt><span class="strong">Returns:</span></dt><dd>a String with the button's human readable name in it or null if the button is unnamed</dd></dl>
</li>
</ul>
<a name="getButtonIndex(java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getButtonIndex</h4>
<pre>public static&nbsp;int&nbsp;getButtonIndex(java.lang.String&nbsp;buttonName)</pre>
<div class="block">Get's a button's index. If the button is unrecognised then -1 is returned.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>buttonName</code> - The button name</dd></dl>
</li>
</ul>
<a name="next()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>next</h4>
<pre>public static&nbsp;boolean&nbsp;next()</pre>
<div class="block">Gets the next mouse event. You can query which button caused the event by using
<code>getEventButton()</code> (if any). To get the state of that key, for that event, use
<code>getEventButtonState</code>. To get the current mouse delta values use <code>getEventDX()</code>
and <code>getEventDY()</code>.</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>true if a mouse event was read, false otherwise</dd><dt><span class="strong">See Also:</span></dt><dd><a href="../../../org/lwjgl/input/Mouse.html#getEventButton()"><code>getEventButton()</code></a>,
<a href="../../../org/lwjgl/input/Mouse.html#getEventButtonState()"><code>getEventButtonState()</code></a></dd></dl>
</li>
</ul>
<a name="getEventButton()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getEventButton</h4>
<pre>public static&nbsp;int&nbsp;getEventButton()</pre>
<dl><dt><span class="strong">Returns:</span></dt><dd>Current events button. Returns -1 if no button state was changed</dd></dl>
</li>
</ul>
<a name="getEventButtonState()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getEventButtonState</h4>
<pre>public static&nbsp;boolean&nbsp;getEventButtonState()</pre>
<div class="block">Get the current events button state.</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>Current events button state.</dd></dl>
</li>
</ul>
<a name="getEventDX()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getEventDX</h4>
<pre>public static&nbsp;int&nbsp;getEventDX()</pre>
<dl><dt><span class="strong">Returns:</span></dt><dd>Current events delta x.</dd></dl>
</li>
</ul>
<a name="getEventDY()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getEventDY</h4>
<pre>public static&nbsp;int&nbsp;getEventDY()</pre>
<dl><dt><span class="strong">Returns:</span></dt><dd>Current events delta y.</dd></dl>
</li>
</ul>
<a name="getEventX()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getEventX</h4>
<pre>public static&nbsp;int&nbsp;getEventX()</pre>
<dl><dt><span class="strong">Returns:</span></dt><dd>Current events absolute x.</dd></dl>
</li>
</ul>
<a name="getEventY()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getEventY</h4>
<pre>public static&nbsp;int&nbsp;getEventY()</pre>
<dl><dt><span class="strong">Returns:</span></dt><dd>Current events absolute y.</dd></dl>
</li>
</ul>
<a name="getEventDWheel()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getEventDWheel</h4>
<pre>public static&nbsp;int&nbsp;getEventDWheel()</pre>
<dl><dt><span class="strong">Returns:</span></dt><dd>Current events delta z</dd></dl>
</li>
</ul>
<a name="getEventNanoseconds()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getEventNanoseconds</h4>
<pre>public static&nbsp;long&nbsp;getEventNanoseconds()</pre>
<div class="block">Gets the time in nanoseconds of the current event.
Only useful for relative comparisons with other
Mouse events, as the absolute time has no defined
origin.</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>The time in nanoseconds of the current event</dd></dl>
</li>
</ul>
<a name="getX()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getX</h4>
<pre>public static&nbsp;int&nbsp;getX()</pre>
<div class="block">Retrieves the absolute position. It will be clamped to
0...width-1.</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>Absolute x axis position of mouse</dd></dl>
</li>
</ul>
<a name="getY()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getY</h4>
<pre>public static&nbsp;int&nbsp;getY()</pre>
<div class="block">Retrieves the absolute position. It will be clamped to
0...height-1.</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>Absolute y axis position of mouse</dd></dl>
</li>
</ul>
<a name="getDX()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getDX</h4>
<pre>public static&nbsp;int&nbsp;getDX()</pre>
<dl><dt><span class="strong">Returns:</span></dt><dd>Movement on the x axis since last time getDX() was called.</dd></dl>
</li>
</ul>
<a name="getDY()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getDY</h4>
<pre>public static&nbsp;int&nbsp;getDY()</pre>
<dl><dt><span class="strong">Returns:</span></dt><dd>Movement on the y axis since last time getDY() was called.</dd></dl>
</li>
</ul>
<a name="getDWheel()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getDWheel</h4>
<pre>public static&nbsp;int&nbsp;getDWheel()</pre>
<dl><dt><span class="strong">Returns:</span></dt><dd>Movement of the wheel since last time getDWheel() was called</dd></dl>
</li>
</ul>
<a name="getButtonCount()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getButtonCount</h4>
<pre>public static&nbsp;int&nbsp;getButtonCount()</pre>
<dl><dt><span class="strong">Returns:</span></dt><dd>Number of buttons on this mouse</dd></dl>
</li>
</ul>
<a name="hasWheel()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>hasWheel</h4>
<pre>public static&nbsp;boolean&nbsp;hasWheel()</pre>
<dl><dt><span class="strong">Returns:</span></dt><dd>Whether or not this mouse has wheel support</dd></dl>
</li>
</ul>
<a name="isGrabbed()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isGrabbed</h4>
<pre>public static&nbsp;boolean&nbsp;isGrabbed()</pre>
<dl><dt><span class="strong">Returns:</span></dt><dd>whether or not the mouse has grabbed the cursor</dd></dl>
</li>
</ul>
<a name="setGrabbed(boolean)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setGrabbed</h4>
<pre>public static&nbsp;void&nbsp;setGrabbed(boolean&nbsp;grab)</pre>
<div class="block">Sets whether or not the mouse has grabbed the cursor
(and thus hidden). If grab is false, the getX() and getY()
will return delta movement in pixels clamped to the display
dimensions, from the center of the display.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>grab</code> - whether the mouse should be grabbed</dd></dl>
</li>
</ul>
<a name="updateCursor()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>updateCursor</h4>
<pre>public static&nbsp;void&nbsp;updateCursor()</pre>
<div class="block">Updates the cursor, so that animation can be changed if needed.
This method is called automatically by the window on its update, and
shouldn't be called otherwise</div>
</li>
</ul>
<a name="isInsideWindow()">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>isInsideWindow</h4>
<pre>public static&nbsp;boolean&nbsp;isInsideWindow()</pre>
<div class="block">Retrieves whether or not the mouse cursor is within the bounds of the window.
If the mouse cursor was moved outside the display during a drag, then the result of calling
this method will be true until the button is released.</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>true if mouse is inside display, false otherwise.</dd></dl>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
</div>
<!-- ========= END OF CLASS DATA ========= -->
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar_bottom">
<!-- -->
</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/Mouse.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../index-all.html">Index</a></li>
<li><a href="../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../org/lwjgl/input/Keyboard.html" title="class in org.lwjgl.input"><span class="strong">Prev Class</span></a></li>
<li>Next Class</li>
</ul>
<ul class="navList">
<li><a href="../../../index.html?org/lwjgl/input/Mouse.html" target="_top">Frames</a></li>
<li><a href="Mouse.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../allclasses-noframe.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li><a href="#field_summary">Field</a>&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method_summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li><a href="#field_detail">Field</a>&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method_detail">Method</a></li>
</ul>
</div>
<a name="skip-navbar_bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<p class="legalCopy"><small><i>Copyright &#169; 2002-2009 lwjgl.org. All Rights Reserved.</i></small></p>
</body>
</html>

View File

@@ -0,0 +1,188 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (version 1.7.0_17) on Mon Dec 02 20:33:05 CET 2013 -->
<title>Uses of Interface org.lwjgl.input.Controller (LWJGL API)</title>
<meta name="date" content="2013-12-02">
<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style">
</head>
<body>
<script type="text/javascript"><!--
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="Uses of Interface org.lwjgl.input.Controller (LWJGL API)";
}
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar_top">
<!-- -->
</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../overview-summary.html">Overview</a></li>
<li><a href="../package-summary.html">Package</a></li>
<li><a href="../../../../org/lwjgl/input/Controller.html" title="interface in org.lwjgl.input">Class</a></li>
<li class="navBarCell1Rev">Use</li>
<li><a href="../../../../overview-tree.html">Tree</a></li>
<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../index-all.html">Index</a></li>
<li><a href="../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li>Prev</li>
<li>Next</li>
</ul>
<ul class="navList">
<li><a href="../../../../index.html?org/lwjgl/input/class-use/Controller.html" target="_top">Frames</a></li>
<li><a href="Controller.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<a name="skip-navbar_top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<div class="header">
<h2 title="Uses of Interface org.lwjgl.input.Controller" class="title">Uses of Interface<br>org.lwjgl.input.Controller</h2>
</div>
<div class="classUseContainer">
<ul class="blockList">
<li class="blockList">
<table border="0" cellpadding="3" cellspacing="0" summary="Use table, listing packages, and an explanation">
<caption><span>Packages that use <a href="../../../../org/lwjgl/input/Controller.html" title="interface in org.lwjgl.input">Controller</a></span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Package</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><a href="#org.lwjgl.input">org.lwjgl.input</a></td>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><a href="#org.lwjgl.util.input">org.lwjgl.util.input</a></td>
<td class="colLast">&nbsp;</td>
</tr>
</tbody>
</table>
</li>
<li class="blockList">
<ul class="blockList">
<li class="blockList"><a name="org.lwjgl.input">
<!-- -->
</a>
<h3>Uses of <a href="../../../../org/lwjgl/input/Controller.html" title="interface in org.lwjgl.input">Controller</a> in <a href="../../../../org/lwjgl/input/package-summary.html">org.lwjgl.input</a></h3>
<table border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation">
<caption><span>Methods in <a href="../../../../org/lwjgl/input/package-summary.html">org.lwjgl.input</a> that return <a href="../../../../org/lwjgl/input/Controller.html" title="interface in org.lwjgl.input">Controller</a></span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><code>static <a href="../../../../org/lwjgl/input/Controller.html" title="interface in org.lwjgl.input">Controller</a></code></td>
<td class="colLast"><span class="strong">Controllers.</span><code><strong><a href="../../../../org/lwjgl/input/Controllers.html#getController(int)">getController</a></strong>(int&nbsp;index)</code>
<div class="block">Get a controller from the collection</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="../../../../org/lwjgl/input/Controller.html" title="interface in org.lwjgl.input">Controller</a></code></td>
<td class="colLast"><span class="strong">Controllers.</span><code><strong><a href="../../../../org/lwjgl/input/Controllers.html#getEventSource()">getEventSource</a></strong>()</code>
<div class="block">Get the source of the current event</div>
</td>
</tr>
</tbody>
</table>
</li>
<li class="blockList"><a name="org.lwjgl.util.input">
<!-- -->
</a>
<h3>Uses of <a href="../../../../org/lwjgl/input/Controller.html" title="interface in org.lwjgl.input">Controller</a> in <a href="../../../../org/lwjgl/util/input/package-summary.html">org.lwjgl.util.input</a></h3>
<table border="0" cellpadding="3" cellspacing="0" summary="Use table, listing classes, and an explanation">
<caption><span>Classes in <a href="../../../../org/lwjgl/util/input/package-summary.html">org.lwjgl.util.input</a> that implement <a href="../../../../org/lwjgl/input/Controller.html" title="interface in org.lwjgl.input">Controller</a></span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Class and Description</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><code>class&nbsp;</code></td>
<td class="colLast"><code><strong><a href="../../../../org/lwjgl/util/input/ControllerAdapter.html" title="class in org.lwjgl.util.input">ControllerAdapter</a></strong></code>
<div class="block">Adapter for the Controller interface.</div>
</td>
</tr>
</tbody>
</table>
</li>
</ul>
</li>
</ul>
</div>
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar_bottom">
<!-- -->
</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../overview-summary.html">Overview</a></li>
<li><a href="../package-summary.html">Package</a></li>
<li><a href="../../../../org/lwjgl/input/Controller.html" title="interface in org.lwjgl.input">Class</a></li>
<li class="navBarCell1Rev">Use</li>
<li><a href="../../../../overview-tree.html">Tree</a></li>
<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../index-all.html">Index</a></li>
<li><a href="../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li>Prev</li>
<li>Next</li>
</ul>
<ul class="navList">
<li><a href="../../../../index.html?org/lwjgl/input/class-use/Controller.html" target="_top">Frames</a></li>
<li><a href="Controller.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<a name="skip-navbar_bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<p class="legalCopy"><small><i>Copyright &#169; 2002-2009 lwjgl.org. All Rights Reserved.</i></small></p>
</body>
</html>

View File

@@ -0,0 +1,116 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (version 1.7.0_17) on Mon Dec 02 20:33:05 CET 2013 -->
<title>Uses of Class org.lwjgl.input.Controllers (LWJGL API)</title>
<meta name="date" content="2013-12-02">
<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style">
</head>
<body>
<script type="text/javascript"><!--
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="Uses of Class org.lwjgl.input.Controllers (LWJGL API)";
}
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar_top">
<!-- -->
</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../overview-summary.html">Overview</a></li>
<li><a href="../package-summary.html">Package</a></li>
<li><a href="../../../../org/lwjgl/input/Controllers.html" title="class in org.lwjgl.input">Class</a></li>
<li class="navBarCell1Rev">Use</li>
<li><a href="../../../../overview-tree.html">Tree</a></li>
<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../index-all.html">Index</a></li>
<li><a href="../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li>Prev</li>
<li>Next</li>
</ul>
<ul class="navList">
<li><a href="../../../../index.html?org/lwjgl/input/class-use/Controllers.html" target="_top">Frames</a></li>
<li><a href="Controllers.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<a name="skip-navbar_top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<div class="header">
<h2 title="Uses of Class org.lwjgl.input.Controllers" class="title">Uses of Class<br>org.lwjgl.input.Controllers</h2>
</div>
<div class="classUseContainer">No usage of org.lwjgl.input.Controllers</div>
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar_bottom">
<!-- -->
</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../overview-summary.html">Overview</a></li>
<li><a href="../package-summary.html">Package</a></li>
<li><a href="../../../../org/lwjgl/input/Controllers.html" title="class in org.lwjgl.input">Class</a></li>
<li class="navBarCell1Rev">Use</li>
<li><a href="../../../../overview-tree.html">Tree</a></li>
<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../index-all.html">Index</a></li>
<li><a href="../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li>Prev</li>
<li>Next</li>
</ul>
<ul class="navList">
<li><a href="../../../../index.html?org/lwjgl/input/class-use/Controllers.html" target="_top">Frames</a></li>
<li><a href="Controllers.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<a name="skip-navbar_bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<p class="legalCopy"><small><i>Copyright &#169; 2002-2009 lwjgl.org. All Rights Reserved.</i></small></p>
</body>
</html>

View File

@@ -0,0 +1,179 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (version 1.7.0_17) on Mon Dec 02 20:33:05 CET 2013 -->
<title>Uses of Class org.lwjgl.input.Cursor (LWJGL API)</title>
<meta name="date" content="2013-12-02">
<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style">
</head>
<body>
<script type="text/javascript"><!--
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="Uses of Class org.lwjgl.input.Cursor (LWJGL API)";
}
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar_top">
<!-- -->
</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../overview-summary.html">Overview</a></li>
<li><a href="../package-summary.html">Package</a></li>
<li><a href="../../../../org/lwjgl/input/Cursor.html" title="class in org.lwjgl.input">Class</a></li>
<li class="navBarCell1Rev">Use</li>
<li><a href="../../../../overview-tree.html">Tree</a></li>
<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../index-all.html">Index</a></li>
<li><a href="../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li>Prev</li>
<li>Next</li>
</ul>
<ul class="navList">
<li><a href="../../../../index.html?org/lwjgl/input/class-use/Cursor.html" target="_top">Frames</a></li>
<li><a href="Cursor.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<a name="skip-navbar_top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<div class="header">
<h2 title="Uses of Class org.lwjgl.input.Cursor" class="title">Uses of Class<br>org.lwjgl.input.Cursor</h2>
</div>
<div class="classUseContainer">
<ul class="blockList">
<li class="blockList">
<table border="0" cellpadding="3" cellspacing="0" summary="Use table, listing packages, and an explanation">
<caption><span>Packages that use <a href="../../../../org/lwjgl/input/Cursor.html" title="class in org.lwjgl.input">Cursor</a></span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Package</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><a href="#org.lwjgl.input">org.lwjgl.input</a></td>
<td class="colLast">&nbsp;</td>
</tr>
</tbody>
</table>
</li>
<li class="blockList">
<ul class="blockList">
<li class="blockList"><a name="org.lwjgl.input">
<!-- -->
</a>
<h3>Uses of <a href="../../../../org/lwjgl/input/Cursor.html" title="class in org.lwjgl.input">Cursor</a> in <a href="../../../../org/lwjgl/input/package-summary.html">org.lwjgl.input</a></h3>
<table border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation">
<caption><span>Methods in <a href="../../../../org/lwjgl/input/package-summary.html">org.lwjgl.input</a> that return <a href="../../../../org/lwjgl/input/Cursor.html" title="class in org.lwjgl.input">Cursor</a></span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><code>static <a href="../../../../org/lwjgl/input/Cursor.html" title="class in org.lwjgl.input">Cursor</a></code></td>
<td class="colLast"><span class="strong">Mouse.</span><code><strong><a href="../../../../org/lwjgl/input/Mouse.html#getNativeCursor()">getNativeCursor</a></strong>()</code>
<div class="block">Gets the currently bound native cursor, if any.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="../../../../org/lwjgl/input/Cursor.html" title="class in org.lwjgl.input">Cursor</a></code></td>
<td class="colLast"><span class="strong">Mouse.</span><code><strong><a href="../../../../org/lwjgl/input/Mouse.html#setNativeCursor(org.lwjgl.input.Cursor)">setNativeCursor</a></strong>(<a href="../../../../org/lwjgl/input/Cursor.html" title="class in org.lwjgl.input">Cursor</a>&nbsp;cursor)</code>
<div class="block">Binds a native cursor.</div>
</td>
</tr>
</tbody>
</table>
<table border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation">
<caption><span>Methods in <a href="../../../../org/lwjgl/input/package-summary.html">org.lwjgl.input</a> with parameters of type <a href="../../../../org/lwjgl/input/Cursor.html" title="class in org.lwjgl.input">Cursor</a></span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><code>static <a href="../../../../org/lwjgl/input/Cursor.html" title="class in org.lwjgl.input">Cursor</a></code></td>
<td class="colLast"><span class="strong">Mouse.</span><code><strong><a href="../../../../org/lwjgl/input/Mouse.html#setNativeCursor(org.lwjgl.input.Cursor)">setNativeCursor</a></strong>(<a href="../../../../org/lwjgl/input/Cursor.html" title="class in org.lwjgl.input">Cursor</a>&nbsp;cursor)</code>
<div class="block">Binds a native cursor.</div>
</td>
</tr>
</tbody>
</table>
</li>
</ul>
</li>
</ul>
</div>
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar_bottom">
<!-- -->
</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../overview-summary.html">Overview</a></li>
<li><a href="../package-summary.html">Package</a></li>
<li><a href="../../../../org/lwjgl/input/Cursor.html" title="class in org.lwjgl.input">Class</a></li>
<li class="navBarCell1Rev">Use</li>
<li><a href="../../../../overview-tree.html">Tree</a></li>
<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../index-all.html">Index</a></li>
<li><a href="../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li>Prev</li>
<li>Next</li>
</ul>
<ul class="navList">
<li><a href="../../../../index.html?org/lwjgl/input/class-use/Cursor.html" target="_top">Frames</a></li>
<li><a href="Cursor.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<a name="skip-navbar_bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<p class="legalCopy"><small><i>Copyright &#169; 2002-2009 lwjgl.org. All Rights Reserved.</i></small></p>
</body>
</html>

View File

@@ -0,0 +1,116 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (version 1.7.0_17) on Mon Dec 02 20:33:05 CET 2013 -->
<title>Uses of Class org.lwjgl.input.Keyboard (LWJGL API)</title>
<meta name="date" content="2013-12-02">
<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style">
</head>
<body>
<script type="text/javascript"><!--
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="Uses of Class org.lwjgl.input.Keyboard (LWJGL API)";
}
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar_top">
<!-- -->
</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../overview-summary.html">Overview</a></li>
<li><a href="../package-summary.html">Package</a></li>
<li><a href="../../../../org/lwjgl/input/Keyboard.html" title="class in org.lwjgl.input">Class</a></li>
<li class="navBarCell1Rev">Use</li>
<li><a href="../../../../overview-tree.html">Tree</a></li>
<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../index-all.html">Index</a></li>
<li><a href="../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li>Prev</li>
<li>Next</li>
</ul>
<ul class="navList">
<li><a href="../../../../index.html?org/lwjgl/input/class-use/Keyboard.html" target="_top">Frames</a></li>
<li><a href="Keyboard.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<a name="skip-navbar_top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<div class="header">
<h2 title="Uses of Class org.lwjgl.input.Keyboard" class="title">Uses of Class<br>org.lwjgl.input.Keyboard</h2>
</div>
<div class="classUseContainer">No usage of org.lwjgl.input.Keyboard</div>
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar_bottom">
<!-- -->
</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../overview-summary.html">Overview</a></li>
<li><a href="../package-summary.html">Package</a></li>
<li><a href="../../../../org/lwjgl/input/Keyboard.html" title="class in org.lwjgl.input">Class</a></li>
<li class="navBarCell1Rev">Use</li>
<li><a href="../../../../overview-tree.html">Tree</a></li>
<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../index-all.html">Index</a></li>
<li><a href="../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li>Prev</li>
<li>Next</li>
</ul>
<ul class="navList">
<li><a href="../../../../index.html?org/lwjgl/input/class-use/Keyboard.html" target="_top">Frames</a></li>
<li><a href="Keyboard.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<a name="skip-navbar_bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<p class="legalCopy"><small><i>Copyright &#169; 2002-2009 lwjgl.org. All Rights Reserved.</i></small></p>
</body>
</html>

View File

@@ -0,0 +1,116 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (version 1.7.0_17) on Mon Dec 02 20:33:05 CET 2013 -->
<title>Uses of Class org.lwjgl.input.Mouse (LWJGL API)</title>
<meta name="date" content="2013-12-02">
<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style">
</head>
<body>
<script type="text/javascript"><!--
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="Uses of Class org.lwjgl.input.Mouse (LWJGL API)";
}
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar_top">
<!-- -->
</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../overview-summary.html">Overview</a></li>
<li><a href="../package-summary.html">Package</a></li>
<li><a href="../../../../org/lwjgl/input/Mouse.html" title="class in org.lwjgl.input">Class</a></li>
<li class="navBarCell1Rev">Use</li>
<li><a href="../../../../overview-tree.html">Tree</a></li>
<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../index-all.html">Index</a></li>
<li><a href="../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li>Prev</li>
<li>Next</li>
</ul>
<ul class="navList">
<li><a href="../../../../index.html?org/lwjgl/input/class-use/Mouse.html" target="_top">Frames</a></li>
<li><a href="Mouse.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<a name="skip-navbar_top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<div class="header">
<h2 title="Uses of Class org.lwjgl.input.Mouse" class="title">Uses of Class<br>org.lwjgl.input.Mouse</h2>
</div>
<div class="classUseContainer">No usage of org.lwjgl.input.Mouse</div>
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar_bottom">
<!-- -->
</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../overview-summary.html">Overview</a></li>
<li><a href="../package-summary.html">Package</a></li>
<li><a href="../../../../org/lwjgl/input/Mouse.html" title="class in org.lwjgl.input">Class</a></li>
<li class="navBarCell1Rev">Use</li>
<li><a href="../../../../overview-tree.html">Tree</a></li>
<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../index-all.html">Index</a></li>
<li><a href="../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li>Prev</li>
<li>Next</li>
</ul>
<ul class="navList">
<li><a href="../../../../index.html?org/lwjgl/input/class-use/Mouse.html" target="_top">Frames</a></li>
<li><a href="Mouse.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<a name="skip-navbar_bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<p class="legalCopy"><small><i>Copyright &#169; 2002-2009 lwjgl.org. All Rights Reserved.</i></small></p>
</body>
</html>

View File

@@ -0,0 +1,26 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (version 1.7.0_17) on Mon Dec 02 20:33:03 CET 2013 -->
<title>org.lwjgl.input (LWJGL API)</title>
<meta name="date" content="2013-12-02">
<link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style">
</head>
<body>
<h1 class="bar"><a href="../../../org/lwjgl/input/package-summary.html" target="classFrame">org.lwjgl.input</a></h1>
<div class="indexContainer">
<h2 title="Interfaces">Interfaces</h2>
<ul title="Interfaces">
<li><a href="Controller.html" title="interface in org.lwjgl.input" target="classFrame"><i>Controller</i></a></li>
</ul>
<h2 title="Classes">Classes</h2>
<ul title="Classes">
<li><a href="Controllers.html" title="class in org.lwjgl.input" target="classFrame">Controllers</a></li>
<li><a href="Cursor.html" title="class in org.lwjgl.input" target="classFrame">Cursor</a></li>
<li><a href="Keyboard.html" title="class in org.lwjgl.input" target="classFrame">Keyboard</a></li>
<li><a href="Mouse.html" title="class in org.lwjgl.input" target="classFrame">Mouse</a></li>
</ul>
</div>
</body>
</html>

View File

@@ -0,0 +1,173 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (version 1.7.0_17) on Mon Dec 02 20:33:03 CET 2013 -->
<title>org.lwjgl.input (LWJGL API)</title>
<meta name="date" content="2013-12-02">
<link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style">
</head>
<body>
<script type="text/javascript"><!--
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="org.lwjgl.input (LWJGL API)";
}
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar_top">
<!-- -->
</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../overview-summary.html">Overview</a></li>
<li class="navBarCell1Rev">Package</li>
<li>Class</li>
<li><a href="package-use.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../index-all.html">Index</a></li>
<li><a href="../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../org/lwjgl/package-summary.html">Prev Package</a></li>
<li><a href="../../../org/lwjgl/openal/package-summary.html">Next Package</a></li>
</ul>
<ul class="navList">
<li><a href="../../../index.html?org/lwjgl/input/package-summary.html" target="_top">Frames</a></li>
<li><a href="package-summary.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../allclasses-noframe.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<a name="skip-navbar_top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<div class="header">
<h1 title="Package" class="title">Package&nbsp;org.lwjgl.input</h1>
</div>
<div class="contentContainer">
<ul class="blockList">
<li class="blockList">
<table class="packageSummary" border="0" cellpadding="3" cellspacing="0" summary="Interface Summary table, listing interfaces, and an explanation">
<caption><span>Interface Summary</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Interface</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><a href="../../../org/lwjgl/input/Controller.html" title="interface in org.lwjgl.input">Controller</a></td>
<td class="colLast">
<div class="block">A game controller of some sort that will provide input.</div>
</td>
</tr>
</tbody>
</table>
</li>
<li class="blockList">
<table class="packageSummary" border="0" cellpadding="3" cellspacing="0" summary="Class Summary table, listing classes, and an explanation">
<caption><span>Class Summary</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Class</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><a href="../../../org/lwjgl/input/Controllers.html" title="class in org.lwjgl.input">Controllers</a></td>
<td class="colLast">
<div class="block">The collection of controllers currently connected.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><a href="../../../org/lwjgl/input/Cursor.html" title="class in org.lwjgl.input">Cursor</a></td>
<td class="colLast">
<div class="block">A class representing a native cursor.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><a href="../../../org/lwjgl/input/Keyboard.html" title="class in org.lwjgl.input">Keyboard</a></td>
<td class="colLast">
<div class="block"><br>
A raw Keyboard interface.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><a href="../../../org/lwjgl/input/Mouse.html" title="class in org.lwjgl.input">Mouse</a></td>
<td class="colLast">
<div class="block"><br>
A raw Mouse interface.</div>
</td>
</tr>
</tbody>
</table>
</li>
</ul>
</div>
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar_bottom">
<!-- -->
</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../overview-summary.html">Overview</a></li>
<li class="navBarCell1Rev">Package</li>
<li>Class</li>
<li><a href="package-use.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../index-all.html">Index</a></li>
<li><a href="../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../org/lwjgl/package-summary.html">Prev Package</a></li>
<li><a href="../../../org/lwjgl/openal/package-summary.html">Next Package</a></li>
</ul>
<ul class="navList">
<li><a href="../../../index.html?org/lwjgl/input/package-summary.html" target="_top">Frames</a></li>
<li><a href="package-summary.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../allclasses-noframe.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<a name="skip-navbar_bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<p class="legalCopy"><small><i>Copyright &#169; 2002-2009 lwjgl.org. All Rights Reserved.</i></small></p>
</body>
</html>

View File

@@ -0,0 +1,136 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (version 1.7.0_17) on Mon Dec 02 20:33:03 CET 2013 -->
<title>org.lwjgl.input Class Hierarchy (LWJGL API)</title>
<meta name="date" content="2013-12-02">
<link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style">
</head>
<body>
<script type="text/javascript"><!--
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="org.lwjgl.input Class Hierarchy (LWJGL API)";
}
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar_top">
<!-- -->
</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li>Class</li>
<li>Use</li>
<li class="navBarCell1Rev">Tree</li>
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../index-all.html">Index</a></li>
<li><a href="../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../org/lwjgl/package-tree.html">Prev</a></li>
<li><a href="../../../org/lwjgl/openal/package-tree.html">Next</a></li>
</ul>
<ul class="navList">
<li><a href="../../../index.html?org/lwjgl/input/package-tree.html" target="_top">Frames</a></li>
<li><a href="package-tree.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../allclasses-noframe.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<a name="skip-navbar_top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<div class="header">
<h1 class="title">Hierarchy For Package org.lwjgl.input</h1>
<span class="strong">Package Hierarchies:</span>
<ul class="horizontal">
<li><a href="../../../overview-tree.html">All Packages</a></li>
</ul>
</div>
<div class="contentContainer">
<h2 title="Class Hierarchy">Class Hierarchy</h2>
<ul>
<li type="circle">java.lang.Object
<ul>
<li type="circle">org.lwjgl.input.<a href="../../../org/lwjgl/input/Controllers.html" title="class in org.lwjgl.input"><span class="strong">Controllers</span></a></li>
<li type="circle">org.lwjgl.input.<a href="../../../org/lwjgl/input/Cursor.html" title="class in org.lwjgl.input"><span class="strong">Cursor</span></a></li>
<li type="circle">org.lwjgl.input.<a href="../../../org/lwjgl/input/Keyboard.html" title="class in org.lwjgl.input"><span class="strong">Keyboard</span></a></li>
<li type="circle">org.lwjgl.input.<a href="../../../org/lwjgl/input/Mouse.html" title="class in org.lwjgl.input"><span class="strong">Mouse</span></a></li>
</ul>
</li>
</ul>
<h2 title="Interface Hierarchy">Interface Hierarchy</h2>
<ul>
<li type="circle">org.lwjgl.input.<a href="../../../org/lwjgl/input/Controller.html" title="interface in org.lwjgl.input"><span class="strong">Controller</span></a></li>
</ul>
</div>
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar_bottom">
<!-- -->
</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li>Class</li>
<li>Use</li>
<li class="navBarCell1Rev">Tree</li>
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../index-all.html">Index</a></li>
<li><a href="../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../org/lwjgl/package-tree.html">Prev</a></li>
<li><a href="../../../org/lwjgl/openal/package-tree.html">Next</a></li>
</ul>
<ul class="navList">
<li><a href="../../../index.html?org/lwjgl/input/package-tree.html" target="_top">Frames</a></li>
<li><a href="package-tree.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../allclasses-noframe.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<a name="skip-navbar_bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<p class="legalCopy"><small><i>Copyright &#169; 2002-2009 lwjgl.org. All Rights Reserved.</i></small></p>
</body>
</html>

View File

@@ -0,0 +1,177 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (version 1.7.0_17) on Mon Dec 02 20:33:05 CET 2013 -->
<title>Uses of Package org.lwjgl.input (LWJGL API)</title>
<meta name="date" content="2013-12-02">
<link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style">
</head>
<body>
<script type="text/javascript"><!--
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="Uses of Package org.lwjgl.input (LWJGL API)";
}
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar_top">
<!-- -->
</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li>Class</li>
<li class="navBarCell1Rev">Use</li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../index-all.html">Index</a></li>
<li><a href="../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li>Prev</li>
<li>Next</li>
</ul>
<ul class="navList">
<li><a href="../../../index.html?org/lwjgl/input/package-use.html" target="_top">Frames</a></li>
<li><a href="package-use.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../allclasses-noframe.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<a name="skip-navbar_top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<div class="header">
<h1 title="Uses of Package org.lwjgl.input" class="title">Uses of Package<br>org.lwjgl.input</h1>
</div>
<div class="contentContainer">
<ul class="blockList">
<li class="blockList">
<table border="0" cellpadding="3" cellspacing="0" summary="Use table, listing packages, and an explanation">
<caption><span>Packages that use <a href="../../../org/lwjgl/input/package-summary.html">org.lwjgl.input</a></span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Package</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><a href="#org.lwjgl.input">org.lwjgl.input</a></td>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><a href="#org.lwjgl.util.input">org.lwjgl.util.input</a></td>
<td class="colLast">&nbsp;</td>
</tr>
</tbody>
</table>
</li>
<li class="blockList"><a name="org.lwjgl.input">
<!-- -->
</a>
<table border="0" cellpadding="3" cellspacing="0" summary="Use table, listing classes, and an explanation">
<caption><span>Classes in <a href="../../../org/lwjgl/input/package-summary.html">org.lwjgl.input</a> used by <a href="../../../org/lwjgl/input/package-summary.html">org.lwjgl.input</a></span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colOne" scope="col">Class and Description</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colOne"><a href="../../../org/lwjgl/input/class-use/Controller.html#org.lwjgl.input">Controller</a>
<div class="block">A game controller of some sort that will provide input.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colOne"><a href="../../../org/lwjgl/input/class-use/Cursor.html#org.lwjgl.input">Cursor</a>
<div class="block">A class representing a native cursor.</div>
</td>
</tr>
</tbody>
</table>
</li>
<li class="blockList"><a name="org.lwjgl.util.input">
<!-- -->
</a>
<table border="0" cellpadding="3" cellspacing="0" summary="Use table, listing classes, and an explanation">
<caption><span>Classes in <a href="../../../org/lwjgl/input/package-summary.html">org.lwjgl.input</a> used by <a href="../../../org/lwjgl/util/input/package-summary.html">org.lwjgl.util.input</a></span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colOne" scope="col">Class and Description</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colOne"><a href="../../../org/lwjgl/input/class-use/Controller.html#org.lwjgl.util.input">Controller</a>
<div class="block">A game controller of some sort that will provide input.</div>
</td>
</tr>
</tbody>
</table>
</li>
</ul>
</div>
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar_bottom">
<!-- -->
</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li>Class</li>
<li class="navBarCell1Rev">Use</li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../index-all.html">Index</a></li>
<li><a href="../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li>Prev</li>
<li>Next</li>
</ul>
<ul class="navList">
<li><a href="../../../index.html?org/lwjgl/input/package-use.html" target="_top">Frames</a></li>
<li><a href="package-use.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../allclasses-noframe.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<a name="skip-navbar_bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<p class="legalCopy"><small><i>Copyright &#169; 2002-2009 lwjgl.org. All Rights Reserved.</i></small></p>
</body>
</html>