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