1<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2<html xml:lang="en-US" lang="en-US" xmlns="http://www.w3.org/1999/xhtml">
3  <head>
4    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
5    <meta http-equiv="Content-Style-Type" content="text/css" />
6    <link rel="stylesheet" href="../../../css/manpage.css" type="text/css" />
7    <style type="text/css"><!--
8      span.static_style
9      {
10        font-size			: 8pt;
11        color				: white;
12        font-weight			: bold;
13        background			: #44f;
14        border-left			: solid 1px #aaf;
15        border-top			: solid 1px #aaf;
16        border-right		: solid 1px #00c;
17        border-bottom		: solid 1px #00c;
18        padding-left		: 2px;
19        padding-right		: 2px;
20      }
21      span.virtual_style
22      {
23        font-size			 : 8pt;
24        color				 : white;
25        font-weight			: bold;
26        background			: #0a0;
27        border-left			: solid 1px #0f0;
28        border-top			: solid 1px #0f0;
29        border-right		: solid 1px #060;
30        border-bottom		: solid 1px #060;
31        padding-left		: 2px;
32        padding-right		: 2px;
33      }
34      span.protected_style
35      {
36        font-size			 : 8pt;
37        color				 : white;
38        font-weight			: bold;
39        background			: #444;
40        border-left			: solid 1px #ccc;
41        border-top			: solid 1px #ccc;
42        border-right		: solid 1px #222;
43        border-bottom		: solid 1px #222;
44        padding-left		: 2px;
45        padding-right		: 2px;
46      }
47        --></style>
48    <title>nw::demo::Pad</title>
49  </head>
50  <body>
51    <h1><CODE><a href="../../../nw/Overview.html">nw</a>::<a href="../../../nw/demo/Overview.html">demo</a>::Pad</CODE> Class</h1>
52    <h2>Syntax</h2>
53    <div class="section">
54      <pre class="definition">class Pad</pre>
55    </div>
56    <h2>Description</h2>
57    <div class="section">
58      <p>Class representing game pads for demos.</p>
59    </div>
60    <a name="enum" id="enum">
61      <h2>Enumerated Types</h2>
62      <div class="section">
63        <table class="members">
64          <tr>
65            <td width="100"> </td>
66            <th>
67              <a href="../../../nw/demo/Pad/Button.html">Button</a>
68            </th>
69            <td>Bit values representing buttons.</td>
70          </tr> </table>
71      </div>
72    </a> <a name="function" id="function">
73      <h2>Member Functions</h2>
74      <div class="section">
75        <table class="members">
76          <tr>
77            <td width="100">  </td>
78            <th>
79              <a href="../../../nw/demo/Pad/Initialize.html"><CODE>Initialize</CODE></a>
80            </th>
81            <td>Initializes pad status.</td>
82          </tr>
83          <tr>
84            <td width="100">  </td>
85            <th>
86              <a href="../../../nw/demo/Pad/Finalize.html">Finalize</a>
87            </th>
88            <td>Finalizes pad status.</td>
89          </tr>
90          <tr>
91            <td width="100">  </td>
92            <th>
93              <a href="../../../nw/demo/Pad/Update.html">Update</a>
94            </th>
95            <td>Updates pad status.</td>
96          </tr>
97          <tr>
98            <td width="100">  </td>
99            <th>
100              <a href="../../../nw/demo/Pad/Reset.html">Reset</a>
101            </th>
102            <td>Resets pad status to initial state.</td>
103          </tr>
104          <tr>
105            <td width="100">  </td>
106            <th>
107              <a href="../../../nw/demo/Pad/IsButtonPress.html">IsButtonPress</a>
108            </th>
109            <td>Determines if the button is being pressed.</td>
110          </tr>
111          <tr>
112            <td width="100">  </td>
113            <th>
114              <a href="../../../nw/demo/Pad/IsButtonDown.html">IsButtonDown</a>
115            </th>
116            <td>Determines if the button has been pressed.</td>
117          </tr>
118          <tr>
119            <td width="100">  </td>
120            <th>
121              <a href="../../../nw/demo/Pad/IsButtonUp.html">IsButtonUp</a>
122            </th>
123            <td>Determines if the button has been released.</td>
124          </tr>
125          <tr>
126            <td width="100">  </td>
127            <th>
128              <a href="../../../nw/demo/Pad/IsButtonRepeat.html">IsButtonRepeat</a>
129            </th>
130            <td>Returns <CODE>true </CODE>while the button is being held down for a set interval.</td>
131          </tr>
132          <tr>
133            <td width="100">  </td>
134            <th>
135              <a href="../../../nw/demo/Pad/IsButtonRepeatFast.html">IsButtonRepeatFast</a>
136            </th>
137            <td>Returns <CODE>true </CODE>while the button is being held down for a set interval. The interval is faster than with the <CODE><a href="../../../nw/demo/Pad/IsButtonRepeat.html">IsButtonRepeat</a></CODE> function.</td>
138          </tr>
139          <tr>
140            <td width="100">  </td>
141            <th>
142              <a href="../../../nw/demo/Pad/GetAnalogStickX.html">GetAnalogStickX</a>
143            </th>
144            <td>Gets the x value of the analog stick.</td>
145          </tr>
146          <tr>
147            <td width="100">  </td>
148            <th>
149              <a href="../../../nw/demo/Pad/GetAnalogStickY.html">GetAnalogStickY</a>
150            </th>
151            <td>Gets the y value of the analog stick.</td>
152          </tr>
153          <tr>
154            <td width="100">  </td>
155            <th>
156              <a href="../../../nw/demo/Pad/GetAnalogStick.html">GetAnalogStick</a>
157            </th>
158            <td>Gets the value of the analog stick.</td>
159          </tr>
160          <tr>
161            <td width="100">  </td>
162            <th>
163              <a href="../../../nw/demo/Pad/EnableTestMode.html">EnableTestMode</a>
164            </th>
165            <td>Switches the test mode.</td>
166          </tr>
167          <tr>
168            <td width="100">  </td>
169            <th>
170              <a href="../../../nw/demo/Pad/SetTestPadStatus.html">SetTestPadStatus</a>
171            </th>
172            <td>Sets pad input for test mode.</td>
173          </tr>
174          <tr>
175            <td width="100">
176              <span class="protected_style" title="protected">protected</span> <span class="static_style" title="static">S</span> </td>
177            <th>
178              <a href="../../../nw/demo/Pad/Create.html">Create</a>
179            </th>
180            <td>Creates a game pad for the demo.</td>
181          </tr>
182          <tr>
183            <td width="100">
184              <span class="protected_style" title="protected">protected</span>  </td>
185            <th>
186              <a href="../../../nw/demo/Pad/Destroy.html"><CODE>Destroy</CODE></a>
187            </th>
188            <td>Destroys the game pad for the demo.</td>
189          </tr> </table>
190      </div>
191    </a>
192  <hr><p>CONFIDENTIAL</p></body>
193</html>
194