1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> 2<HTML> 3<HEAD> 4<META http-equiv="Content-Type" content="text/html; charset=windows-1252"> 5<META name="GENERATOR" content="Microsoft FrontPage 5.0"> 6<META http-equiv="Content-Style-Type" content="text/css"> 7<LINK rel="stylesheet" type="text/css" href="../CSS/revolution.css"> 8<BASE target="main"> 9<TITLE>WPAD Function List</TITLE> 10</HEAD> 11<BODY> 12 13<H1>Standard Controller (WPAD) API Function List</H1> 14<H2><a name="Wpad">Wii Remote</a></H2> 15<TABLE class="api_list" border="1"> 16 <TBODY> 17 <TR> 18<TH><A href="./WPADInit.html">WPADInit</A></TH> 19<TD>Initializes the WPAD library.</TD> 20 </TR> 21 <TR> 22<TH><A href="./WPADRegisterAllocator.html">WPADRegisterAllocator</A></TH> 23<TD>Registers the allocator used when the library allocates work memory. The library uses the allocator registered by this function to allocate memory only at initialization. 24 </TD> 25 </TR> 26 <TR> 27<TH><A href="./WPADGetWorkMemorySize.html">WPADGetWorkMemorySize</A></TH> 28<TD>Returns the size of the work memory allocated by the library. 29 </TD> 30 </TR> 31 <TR> 32<TH><A href="./WPADProbe.html">WPADProbe</A></TH> 33<TD>Checks the specified channel's status and controller type.</TD> 34 </TR> 35 <TR> 36<TH><A href="./WPADGetStatus.html">WPADGetStatus</A></TH> 37<TD>Gets the usage status of the library.</TD> 38 </TR> 39 <TR> 40<TH><A href="./WPADGetDataFormat.html">WPADGetDataFormat</A></TH> 41<TD>Gets the data format type of the received data.</TD> 42 </TR> 43 <TR> 44<TH><A href="./WPADSetDataFormat.html">WPADSetDataFormat</A></TH> 45<TD>Specifies the data format type of the received data. Some time is required before the received data format is changed.</TD> 46 </TR> 47 <TR> 48<TH><A href="./WPADRead.html">WPADRead</A></TH> 49<TD>Gets the most recent controller status of the Wii Remote of the specified channel.</TD> 50 </TR> 51 <TR> 52<TH><A href="./WPADSetAutoSamplingBuf.html">WPADSetAutoSamplingBuf</A></TH> 53<TD>Registers a buffer to store the controller status of the Wii Remote for the specified channel each time data is received (about once every 5 milliseconds).</TD> 54 </TR> 55 <TR> 56<TH><A href="./WPADGetLatestIndexInBuf.html">WPADGetLatestIndexInBuf</A></TH> 57<TD>Obtains the index of the ring buffer where the most recent standard controller status is stored.</TD> 58 </TR> 59 <TR> 60<TH><A href="./WPADSetSamplingCallback.html">WPADSetSamplingCallback</A></TH> 61<TD>Registers a callback function that is called each time data is received from the Wii Remote (about every 5 milliseconds) at the specified channel.</TD> 62 </TR> 63 <TR> 64<TH><A href="./WPADSetConnectCallback.html">WPADSetConnectCallback</A></TH> 65<TD>Registers the callback function that is called when the Wii Remote for the specified channel is connected or disconnected.</TD> 66 </TR> 67 <TR> 68<TH><A href="./WPADSetExtensionCallback.html">WPADSetExtensionCallback</A></TH> 69<TD>Registers the callback function that is called when an external extension controller is inserted or removed from a Wii Remote on the specified channel.</TD> 70 </TR> 71 <TR> 72<TH><A href="./WPADButtonDown.html">WPADButtonDown</A></TH> 73<TD>Detects whether button(s) have been pressed.</TD> 74 </TR> 75 <TR> 76<TH><A href="./WPADButtonUp.html">WPADButtonUp</A></TH> 77<TD>Detects whether button(s) have been released.</TD> 78 </TR> 79 <TR> 80<TH><A href="./WPADGetInfo.html">WPADGetInfo</A></TH> 81<TD>Gets the current information of the Wii Remote.</TD> 82 </TR> 83 <TR> 84<TH><A href="./WPADGetInfoAsync.html">WPADGetInfoAsync</A></TH> 85<TD>Gets the current information of the Wii Remote.</TD> 86 </TR> 87 <TR> 88<TH><A href="./WPADGetAddress.html">WPADGetAddress</A></TH> 89<TD>Gets the unique ID of the Wii Remote for the specified channel.</TD> 90 </TR> 91 <TR> 92<TH><A href="./WPADGetSyncType.html">WPADGetSyncType</A></TH> 93<TD>Gets the pairing type of the Wii Remote on the specified channel.</TD> 94 </TR> 95 <TR> 96<TH><A href="./WPADGetRadioSensitivity.html">WPADGetRadioSensitivity</A></TH> 97<TD>Gets the radio sensitivity of the Wii Remote on the specified channel.</TD> 98 </TR> 99 <TR> 100<TH><A href="./WPADGetAccGravityUnit.html">WPADGetAccGravityUnit</A></TH> 101<TD>Gets the per-unit quantity of gravity acceleration for the Motion Sensor for either the Wii Remote or the Nunchuk for the specified channel.</TD> 102 </TR> 103 <TR> 104<TH><A href="./WPADGetCLTriggerThreshold.html">WPADGetCLTriggerThreshold</A></TH> 105<TD>Gets the lower limit when clamping the L and R trigger buttons of the Classic Controller on the specified channel.</TD> 106 </TR> 107 <TR> 108<TH><A href="./WPADClampStick.html">WPADClampStick</A></TH> 109<TD>Clamps analog stick input of the Nunchuk and the Classic Controller.</TD> 110 </TR> 111 <TR> 112<TH><A href="./WPADClampTrigger.html">WPADClampTrigger</A></TH> 113<TD>Clamps the analog trigger inputs of a Classic Controller.</TD> 114 </TR> 115 <TR> 116<TH><A href="./WPADClampAcc.html">WPADClampAcc</A></TH> 117<TD>Clamps the motion sensor inputs of the Nunchuk and the Wii Remote.</TD> 118 </TR> 119 <TR> 120<TH><A href="./WPADControlExtGimmick.html">WPADControlExtGimmick</A></TH> 121<TD>Controls the gimmicks (mechanisms) of the external extension controller plugged into the Wii Remote of the specified channel.</TD> 122 </TR> 123 </TBODY> 124</TABLE> 125 126<H2><a name="Wbc">Wii Balance Board</a></H2> 127<TABLE class="api_list" border="1"> 128 <TBODY> 129 <TR> 130<TH><A href="./WPADControlBLC.html">WPADControlBLC</A></TH> 131<TD>Controls the specified Wii Balance Board.</TD> 132 </TR> 133 <TR> 134<TH><A href="./WPADGetBLCalibration.html">WPADGetBLCalibration</A></TH> 135<TD>Gets the calibration values for the specified Wii Balance Board.</TD> 136 </TR> 137 <TR> 138<TH><A href="./WPADIsRegisteredBLC.html">WPADIsRegisteredBLC</A></TH> 139<TD>Checks whether a Wii Balance Board has been paired with the Wii console.</TD> 140 </TR> 141 <TR> 142<TH><A href="./WPADRegisterBLCWorkarea.html">WPADRegisterBLCWorkarea</A></TH> 143<TD>In the library, configures a work buffer required for sharing the pairing information between the Wii Balance Board and the Japanese version of WiiFit.</TD> 144 </TR> 145 </TBODY> 146</TABLE> 147 148<H2><a name="Dpd">Pointer</a></H2> 149<TABLE class="api_list" border="1"> 150 <TBODY> 151 <TR> 152<TH><A href="./WPADIsDpdEnabled.html">WPADIsDpdEnabled</A></TH> 153<TD>Checks whether the pointer for the Wii Remote for the specified channel is working.</TD> 154 </TR> 155 <TR> 156<TH><A href="./WPADControlDpd.html">WPADControlDpd</A></TH> 157<TD>Controls the pointer for the Wii Remote of the specified channel.</TD> 158 </TR> 159 <TR> 160<TH><A href="./WPADGetDpdFormat.html">WPADGetDpdFormat</A></TH> 161<TD>Gets the data format of the Pointer of the Wii Remote on the specified channel.</TD> 162 </TR> 163 <TR> 164<TH><A href="./WPADGetDpdSensitivity.html">WPADGetDpdSensitivity</A></TH> 165<TD>Gets the sensitivity of the Pointer of the Wii Remote on the specified channel.</TD> 166 </TR> 167 </TBODY> 168</TABLE> 169 170<H2><a name="Motor">Rumble Feature</a></H2> 171<TABLE class="api_list" border="1"> 172 <TBODY> 173 <TR> 174<TH><A href="./WPADControlMotor.html">WPADControlMotor</A></TH> 175<TD>Controls the Rumble Feature of the Wii Remote for the specified channel.</TD> 176 </TR> 177 <TR> 178<TH><A href="./WPADStartMotor.html">WPADStartMotor</A></TH> 179<TD>Starts the Rumble Feature on the Wii Remote of the specified channel.</TD> 180 </TR> 181 <TR> 182<TH><A href="./WPADStopMotor.html">WPADStopMotor</A></TH> 183<TD>Stops Rumble Feature on the Wii Remote for the specified channel.</TD> 184 </TR> 185 <TR> 186<TH><A href="./WPADIsMotorEnabled.html">WPADIsMotorEnabled</A></TH> 187<TD>Gets the current ON/OFF status of the Rumble Feature of the Wii Remote.</TD> 188 </TR> 189 </TBODY> 190</TABLE> 191 192<H2><a name="Speaker">Speaker</a></H2> 193<TABLE class="api_list" border="1"> 194 <TBODY> 195 <TR> 196<TH><A href="./WPADIsSpeakerEnabled.html">WPADIsSpeakerEnabled</A></TH> 197<TD>Checks whether the speaker of the Wii Remote on the specified channel is operational.</TD> 198 </TR> 199 <TR> 200<TH><A href="./WPADControlSpeaker.html">WPADControlSpeaker</A></TH> 201<TD>Controls the speaker of the Wii Remote Control on the specified channel.</TD> 202 </TR> 203 <TR> 204<TH><A href="./WPADSendStreamData.html">WPADSendStreamData</A></TH> 205<TD>Sends audio data to the Wii Remote on the specified channel.</TD> 206 </TR> 207 <TR> 208<TH><A href="./WPADCanSendStreamData.html">WPADCanSendStreamData</A></TH> 209<TD>Checks whether audio data can be sent to the Wii Remote on the specified channel.</TD> 210 </TR> 211 </TBODY> 212</TABLE> 213 214<H2><a name="Memory">Wii Remote Memory</a></H2> 215<TABLE class="api_list" border="1"> 216 <TBODY> 217 <TR> 218<TH><A href="./WPADReadGameData.html">WPADReadGameData</A></TH> 219<TD>Reads game data stored in the Wii Remote memory.</TD> 220 </TR> 221 <TR> 222<TH><A href="./WPADWriteGameData.html">WPADWriteGameData</A></TH> 223<TD>Saves game data in the Wii Remote memory.</TD> 224 </TR> 225 <TR> 226<TH><A href="./WPADSetGameTitleUtf16.html">WPADSetGameTitleUtf16</A></TH> 227<TD>Registers a character string with UTF16 character code in the file information for the game data saved in the Wii Remote memory as the game title.</TD> 228 </TR> 229 <TR> 230<TH><A href="./WPADGetGameTitleUtf16.html">WPADGetGameTitleUtf16</A></TH> 231<TD>Gets the game title from the file information for game data saved in the Wii Remote memory.</TD> 232 </TR> 233 <TR> 234<TH><A href="./WPADGetGameDataTimeStamp.html">WPADGetGameDataTimeStamp</A></TH> 235<TD>Gets the saved date/time stamp from the file information for game data saved in the Wii Remote memory.</TD> 236 </TR> 237 </TBODY> 238</TABLE> 239 240<H2><a name="Sync">Pairing</a></H2> 241<TABLE class="api_list" border="1"> 242 <TBODY> 243 <TR> 244<TH><A href="./WPADGetRegisteredDevNum.html">WPADGetRegisteredDevNum</A></TH> 245<TD>Gets the number of Wii Remotes paired with the Wii console.</TD> 246 </TR> 247 <TR> 248<TH><A href="./WPADGetTemporaryDevNum.html">WPADGetTemporaryDevNum</A></TH> 249<TD>Gets the number of Wii Remotes that have been simple-paired with the Wii console.</TD> 250 </TR> 251 <TR> 252<TH><A href="./WPADStartSyncDevice.html">WPADStartSyncDevice</A></TH> 253<TD>Begins the pairing process required to use the Wii Remote.</TD> 254 </TR> 255 <TR> 256<TH><A href="./WPADStartFastSyncDevice.html">WPADStartFastSyncDevice</A></TH> 257<TD>Quickly executes the pairing process required to use the Wii Remote.</TD> 258 </TR> 259 <TR> 260<TH><A href="./WPADStartClearDevice.html">WPADStartClearDevice</A></TH> 261<TD>Deletes all the information on the Wii Remotes paired with the Wii console.</TD> 262 </TR> 263 <TR> 264<TH><A href="./WPADStartSimpleSync.html">WPADStartSimpleSync</A></TH> 265<TD>Begins the simple pairing process required to use the Wii Remote temporarily.</TD> 266 </TR> 267 <TR> 268<TH><A href="./WPADStartFastSimpleSync.html">WPADStartFastSimpleSync</A></TH> 269<TD>Quickly executes the simple pairing process required to use the Wii Remote temporarily.</TD> 270 </TR> 271 <TR> 272<TH><A href="./WPADStopSimpleSync.html">WPADStopSimpleSync</A></TH> 273<TD>Terminates simple pairing.</TD> 274 </TR> 275 <TR> 276<TH><A href="./WPADSetSyncDeviceCallback.html">WPADSetSyncDeviceCallback</A></TH> 277<TD>Sets the callback called when SYNCHRO is pressed and when pairing is completed. If no callback is set, <A href="./WPADStartSyncDevice.html"><CODE>WPADStartSyncDevice</CODE></a> is automatically called.</TD> 278 </TR> 279 <TR> 280<TH><A href="./WPADSetClearDeviceCallback.html">WPADSetClearDeviceCallback</A></TH> 281<TD>Sets the callback called when SYNCHRO is pressed for more than 10 seconds and when deletion completes. If no callback has been set, <A href="./WPADStartClearDevice.html"><CODE>WPADStartClearDevice</CODE></a> is automatically called.</TD> 282 </TR> 283 <TR> 284<TH><A href="./WPADSetSimpleSyncCallback.html">WPADSetSimpleSyncCallback</A></TH> 285<TD>Sets the callback to be called when simple pairing has ended.</TD> 286 </TR> 287 </TBODY> 288</TABLE> 289 290<H2><a name="Connect">Connection / Disconnection</a></H2> 291<TABLE class="api_list" border="1"> 292 <TBODY> 293 <TR> 294<TH><A href="./WPADDisconnect.html">WPADDisconnect</A></TH> 295<TD>Disconnects the controller for the specified channel.</TD> 296 </TR> 297 <TR> 298<TH><A href="./WPADGetAcceptConnection.html">WPADGetAcceptConnection</A></TH> 299<TD>Gets whether the Wii console is accepting connections from Wii Remotes.</TD> 300 </TR> 301 <TR> 302<TH><A href="./WPADSetAcceptConnection.html">WPADSetAcceptConnection</A></TH> 303<TD>Sets whether the Wii console will accept a connection from a Wii Remote.</TD> 304 </TR> 305 </TBODY> 306</TABLE> 307 308<H2><a name="BatterySave">Automatic Disconnect</a></H2> 309<TABLE class="api_list" border="1"> 310 <TBODY> 311 <TR> 312<TH><A href="./WPADSetAutoSleepTime.html">WPADSetAutoSleepTime</A></TH> 313<TD>Sets the timeout for automatically disconnecting a Wii Remote that is not sending input to the Wii console.</TD> 314 </TR> 315 <TR> 316<TH><A href="./WPADResetAutoSleepTimeCount.html">WPADResetAutoSleepTimeCount</A></TH> 317<TD>Resets the timer for automatic disconnection.</TD> 318 </TR> 319 </TBODY> 320</TABLE> 321 322<H2><a name="Config">Wii Console Settings-Related</a></H2> 323<TABLE class="api_list" border="1"> 324 <TBODY> 325 <TR> 326<TH><A href="./WPADEnableMotor.html">WPADEnableMotor</A></TH> 327<TD>Turns the Rumble Feature of the Wii Remote on and off. <font color="red">Note: In product versions, do not call this function from applications other than the HOME button menu.</font></TD> 328 </TR> 329 <TR> 330<TH><A href="./WPADGetSpeakerVolume.html">WPADGetSpeakerVolume</A></TH> 331<TD>Gets the volume of the Wii Remote speaker.</TD> 332 </TR> 333 <TR> 334<TH><A href="./WPADSetSpeakerVolume.html">WPADSetSpeakerVolume</A></TH> 335<TD>Sets the volume of the Wii Remote speaker. <font color="red">Note: In product versions, do not call this function from applications other than the HOME button menu.</font></TD> 336 </TR> 337 <TR> 338<TH><A href="./WPADGetSensorBarPosition.html">WPADGetSensorBarPosition</A></TH> 339<TD>Determines whether the sensor bar is placed above or below the television.</TD> 340 </TR> 341 <TR> 342<TH><A href="./WPADSaveConfig.html">WPADSaveConfig</A></TH> 343<TD>Records the Rumble Feature setting and speaker volume setting of the Wii Remote on the specified channel in Wii console NAND memory. <font color="red">Note: In product versions, do not call this function from applications other than the HOME button menu.</font></TD> 344 </TR> 345 </TBODY> 346</TABLE> 347 348<H2><a name="debug">Debug</a></H2> 349<TABLE class="api_list" border="1"> 350 <TBODY> 351 <TR> 352<TH><A href="./WPADAttachDummyExtension.html">WPADAttachDummyExtension</A></TH> 353<TD>Changes the Wii Remote device type for the specified channel without actually plugging in an external extension controller to the Wii Remote assigned to the specified channel. <STRONG>Note:</STRONG> Only the debug version of the library can call this function.</TD> 354 </TR> 355 <TR> 356<TH><A href="./WPADAttachDummyExtension.html">WPADAttachDummyExtension</A></TH> 357<TD>For the Wii Remote on the specified channel, changes the device type to <CODE>WPAD_DEV_CORE</CODE>. <font color="red">Note: Can be called only with the debug version of the library.</font></TD> 358 </TR> 359 </TBODY> 360</TABLE> 361 362<H2><a name="struct">Types and Structures</a></H2> 363<TABLE class="api_list" border="1"> 364 <TBODY> 365 <TR> 366<TH><A href="./WPADStatus.html">WPADStatus</A></TH> 367<TD>Structure for the controller status of the Wii Remote.</TD> 368 </TR> 369 <TR> 370<TH><A href="./WPADInfo.html">WPADInfo</A></TH> 371<TD>Structure for the Wii Remote status.</TD> 372 </TR> 373 </TBODY> 374</TABLE> 375 376<H2><a name="obsolete">Deprecated Functions</a></H2> 377<TABLE class="api_list" border="1"> 378 <TBODY> 379 <TR> 380<TH><A href="./WPADShutdown.html"><s><CODE>WPADShutdown</CODE></s></A> (obsolete)</TH> 381<TD>Deprecated.</TD> 382 </TR> 383 <TR> 384<TH><A href="./WPADReconnect.html"><s><CODE>WPADReconnect</CODE></s></A> (obsolete)</TH> 385<TD>Deprecated.</TD> 386 </TR> 387 <TR> 388<TH><A href="./WPADSetDisableChannel.html"><s><CODE>WPADSetDisableChannel</CODE></s></A> (obsolete)</TH> 389<TD>Deprecated.</TD> 390 </TR> 391 <TR> 392<TH><A href="./WPADClearPortMapTable.html"><s><CODE>WPADClearPortMapTable</CODE></s></A> (obsolete)</TH> 393<TD>Deprecated.</TD> 394 </TR> 395 </TBODY> 396</TABLE> 397 398 399<br><br> 400 401<hr><p>CONFIDENTIAL</p></body> 402</HTML> 403