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 http-equiv="Content-Style-Type" content="text/css"> 6<LINK rel="stylesheet" type="text/css" href="../CSS/revolution.css"> 7<BASE target="main"> 8<TITLE>KPAD Function List</TITLE> 9</HEAD> 10<BODY> 11<H1>KPAD Function List</H1> 12 13<H3><a name="Kpad">Functions</a></H3> 14<TABLE border="1"> 15 <TBODY> 16<TR><TD><A href="./KPADInit.html"><code>KPADInit</code></A></TD><TD>Initializes the KPAD library.</TD></TR> 17<TR><TD><A href="./KPADReset.html"><code>KPADReset</code></A></TD><TD>Returns to the initial state.</TD></TR> 18<TR><TD><A href="./KPADRead.html"><code>KPADRead</code></A></TD><TD>Obtains the data.</TD></TR> 19<TR><TD><A href="./KPADGetPosParam.html"><code>KPADGetPosParam</code></A></TD><TD>Gets the play radius and sensitivity for the set coordinate values.</TD></TR> 20<TR><TD><A href="./KPADSetPosParam.html"><code>KPADSetPosParam</code></A></TD><TD>Adjusts the play radius and sensitivity for the coordinate values.</TD></TR> 21<TR><TD><A href="./KPADGetPosPlayMode.html"><code>KPADGetPosPlayMode</code></A></TD><TD>Gets the play mode for the coordinate values that have been set.</TD></TR> 22<TR><TD><A href="./KPADSetPosPlayMode.html"><code>KPADSetPosPlayMode</code></A></TD><TD>Sets the play mode for the coordinate values.</TD></TR> 23<TR><TD><A href="./KPADGetHoriParam.html"><code>KPADGetHoriParam</code></A></TD><TD>Gets the play radius and sensitivity for the set horizontal parameter.</TD></TR> 24<TR><TD><A href="./KPADSetHoriParam.html"><code>KPADSetHoriParam</code></A></TD><TD>Adjusts the play radius and sensitivity for the horizontal parameters.</TD></TR> 25<TR><TD><A href="./KPADGetHoriPlayMode.html"><code>KPADGetHoriPlayMode</code></A></TD><TD>Gets the play mode for the horizontal parameters that have been set.</TD></TR> 26<TR><TD><A href="./KPADSetHoriPlayMode.html"><code>KPADSetHoriPlayMode</code></A></TD><TD>Sets the play mode for the horizontal parameters.</TD></TR> 27<TR><TD><A href="./KPADGetDistParam.html"><code>KPADGetDistParam</code></A></TD><TD>Gets the play radius and sensitivity for the set distance.</TD></TR> 28<TR><TD><A href="./KPADSetDistParam.html"><code>KPADSetDistParam</code></A></TD><TD>Adjusts the play radius and sensitivity for the distance.</TD></TR> 29<TR><TD><A href="./KPADGetDistPlayMode.html"><code>KPADGetDistPlayMode</code></A></TD><TD>Gets the play mode for the distance that has been set.</TD></TR> 30<TR><TD><A href="./KPADSetDistPlayMode.html"><code>KPADSetDistPlayMode</code></A></TD><TD>Sets the play mode for the distance.</TD></TR> 31<TR><TD><A href="./KPADGetAccParam.html"><code>KPADGetAccParam</code></A></TD><TD>Gets the play radius and sensitivity for the set accelerometer.</TD></TR> 32<TR><TD><A href="./KPADSetAccParam.html"><code>KPADSetAccParam</code></A></TD><TD>Adjusts the play radius and sensitivity for the acceleration sensor.</TD></TR> 33<TR><TD><A href="./KPADGetAccPlayMode.html"><code>KPADGetAccPlayMode</code></A></TD><TD>Gets the play mode for the acceleration sensor that has been set.</TD></TR> 34<TR><TD><A href="./KPADSetAccPlayMode.html"><code>KPADSetAccPlayMode</code></A></TD><TD>Sets the play mode for the acceleration sensor.</TD></TR> 35<TR><TD><A href="./KPADSetBtnRepeat.html"><code>KPADSetBtnRepeat</code></A></TD><TD>Sets the digital button repeat functionality.</TD></TR> 36<TR><TD><A href="./KPADSetObjInterval.html"><code>KPADSetObjInterval</code></A></TD><TD>Specifies the distance between the two sensors on the Sensor Bar.</TD></TR> 37<TR><TD><A href="./KPADSetSensorHeight.html"><code>KPADSetSensorHeight</code></A></TD><TD>Sets the height for the Sensor Bar location.</TD></TR> 38<TR><TD><A href="./KPADCalibrateDPD.html"><code>KPADCalibrateDPD</code></A></TD><TD>Performs calibration.</TD></TR> 39<TR><TD><A href="./KPADGetWPADRingBuffer.html"><code>KPADGetWPADRingBuffer</code></A></TD><TD>Obtains the starting address of the ring buffer.</TD></TR> 40<TR><TD><A href="./KPADGetWPADFSRingBuffer.html"><code>KPADGetWPADFSRingBuffer</code></A></TD><TD>Obtains the starting address of the ring buffer.</TD></TR> 41<TR><TD><A href="./KPADGetWPADCLRingBuffer.html"><code>KPADGetWPADCLRingBuffer</code></A></TD><TD>Obtains the starting address of the ring buffer.</TD></TR> 42<TR><TD><A href="./KPADSetFSStickClamp.html"><code>KPADSetFSStickClamp</code></A></TD><TD>Clamps control stick data of the Nunchuk.</TD></TR> 43<TR><TD><A href="./KPADEnableDPD.html"><code>KPADEnableDPD</code></A></TD><TD>Issues a request to turn ON the Wii Remote DPD module.</TD></TR> 44<TR><TD><A href="./KPADDisableDPD.html"><code>KPADDisableDPD</code></A></TD><TD>Issues a request to turn OFF the Wii Remote DPD module.</TD></TR> 45<TR><TD><A href="./KPADSetControlDpdCallback.html"><code>KPADSetControlDpdCallback</code></A></TD><TD>Registers the callback to use for notification when making DPD settings for the Wii Remote.</TD></TR> 46<TR><TD><A href="./KPADEnableAimingMode.html"><code>KPADEnableAimingMode</code></A></TD><TD>Sets the mode for getting the nearest coordinate to the spot on the TV screen actually being pointed to by the Wii Remote.</TD></TR> 47<TR><TD><A href="./KPADDisableAimingMode.html"><code>KPADDisableAimingMode</code></A></TD><TD>Sets the mode for getting the coordinate with the center of the Sensor Bar used as the reference (default).</TD></TR> 48<TR><TD><A href="./KPADGetProjectionPos.html"><code>KPADGetProjectionPos</code></A></TD><TD>Converts the normalized coordinate values into projection coordinates.</TD></TR> 49<TR><TD><A href="./KPADGetUnifiedWpadStatus.html"><code>KPADGetUnifiedWpadStatus</code></A></TD><TD>Gets controller data such as WPADStatus with the data format for each element.</TD></TR> 50<TR><TD><A href="./KPADEnableStickCrossClamp.html"><code>KPADEnableStickCrossClamp</code></A></TD><TD>Sets the clamp process method for the stick to cross clamping.</TD></TR> 51<TR><TD><A href="./KPADDisableStickCrossClamp.html"><code>KPADDisableStickCrossClamp</code></A></TD><TD>Sets the clamp process method for the stick-to-circular clamping.</TD></TR> 52<TR><TD><A href="./KPADSetSamplingCallback.html"><code>KPADSetSamplingCallback</code></A></TD><TD>Registers the sampling callback for the application.</TD></TR> 53<TR><TD><A href="./KPADSetReviseMode.html"><code>KPADSetReviseMode</code></A></TD><TD>Gives preliminary specification whether to apply the angular correction to the value returned from the Nunchuk Motion Sensor.</TD></TR> 54<TR><TD><A href="./KPADReviseAcc.html"><code>KPADReviseAcc</code></A></TD><TD>Performs the same kind of angular correction as when <a href="./KPADSetReviseMode.html"><code>KPADSetReviseMode</code></a> is set ON, but to arbitrary vectors.</TD></TR> 55<TR><TD><A href="./KPADGetReviseAngle.html"><code>KPADGetReviseAngle</code></A></TD><TD>Gets the rotation angle, in the degree unit, of the angular correction performed by <a href="./KPADReviseAcc.html"><code>KPADReviseAcc</code></a>.</TD></TR> 56 </TBODY> 57</TABLE> 58 59<H3><a name="struct">Structures and Unions</a></H3> 60<TABLE border="1"> 61 <TBODY> 62 <TR> 63<TD><A href="./KPADStatus.html"><code>KPADStatus</code></A></TD> 64<TD>This structure stores controller data in the KPAD library.</TD> 65 </TR> 66 <TR> 67<TD><A href="./KPADEXStatus.html"><code>KPADEXStatus</code></A></TD> 68<TD>This union stores the data for the extended unit in the KPAD library.</TD> 69 </TR> 70 <TR> 71<TD><A href="./KPADUnifiedWpadStatus.html"><code>KPADUnifiedWpadStatus</code></A></TD> 72<TD>This structure includes the data format for each element for controller data such as WPADStatus.</TD> 73 </TR> 74 </TBODY> 75</TABLE> 76 77</BODY> 78</HTML> 79