Standard Controller High-Level Library (KPAD) API Function List

Controller Functions

KPADInit Initializes the KPAD library.
KPADInitEx Initializes the KPAD library. Configures the ring buffer used for internal processing.
KPADShutdown Stops the KPAD library.
KPADReset Returns to the initial state.
KPADRead Gets data.
KPADReadEx Gets data and error code.
KPADGetPosParam Gets the play radius and sensitivity for the set coordinate values.
KPADSetPosParam Adjusts the play radius and sensitivity for the coordinate values.
KPADGetPosPlayMode Gets the play mode for the set coordinate values.
KPADSetPosPlayMode Sets the play mode for the coordinate values.
KPADGetHoriParam Gets the play radius and sensitivity for the set horizontal parameters.
KPADSetHoriParam Adjusts the play radius and sensitivity for the horizontal parameters.
KPADGetHoriPlayMode Gets the play mode for the set horizontal parameters.
KPADSetHoriPlayMode Sets the play mode for the horizontal parameters.
KPADGetDistParam Gets the play radius and sensitivity for the set distance.
KPADSetDistParam Adjusts the play radius and sensitivity for the distance.
KPADGetDistPlayMode Gets the play mode for the set distance.
KPADSetDistPlayMode Sets the play mode for the distance.
KPADGetAccParam Gets the play radius and sensitivity for the set acceleration sensor.
KPADSetAccParam Adjusts the play radius and sensitivity for the acceleration sensor.
KPADGetAccPlayMode Gets the play mode for the set acceleration sensor.
KPADSetAccPlayMode Sets the play mode for the acceleration sensor.
KPADSetBtnRepeat Sets the digital button repeat functionality.
KPADSetSensorHeight Sets the height for the Sensor Bar location.
KPADCalibrateDPD Performs calibration.
KPADSetFSStickClamp Clamps control stick information for the Nunchuk.
KPADEnableDPD Issues a request to turn the Wii Remote DPD module on.
KPADDisableDPD Issues a request to turn the Wii Remote DPD module off.
KPADSetControlDpdCallback Registers the callback to use for notification when making DPD settings for the Wii Remote.
KPADEnableAimingMode Sets the mode for getting the nearest coordinate to the spot on the TV screen actually being pointed to by the Wii Remote.
KPADDisableAimingMode Sets the mode for getting the coordinate with the center of the Sensor Bar used as the reference (default).
KPADGetProjectionPos Converts the normalized coordinate values into projection coordinates.
KPADGetUnifiedWpadStatus Gets controller data such as WPADStatus, including the data format for each element.
KPADEnableStickCrossClamp Sets the stick's clamping method to cross clamping.
KPADDisableStickCrossClamp Sets the stick's clamping method to circular clamping.
KPADSetSamplingCallback Registers the sampling callback for the application.
KPADSetConnectCallback Registers the connection notification callback for the application.
KPADSetReviseMode Sets whether to apply angular correction in advance to the values returned from the Nunchuk Motion Sensor.
KPADReviseAcc Corrects any user-specified vector in the same manner as the correction performed when KPADSetReviseMode is set to ON.
KPADGetReviseAngle Gets the angle of rotation, in degrees, of the angular correction performed by KPADReviseAcc.
KPADGetButtonProcMode Gets the button processing method used inside KPADRead.
KPADSetButtonProcMode Sets the button processing method used inside KPADRead.
KPADResetWbcZeroPoint Resets the zero point for the Wii Balance Board.
KPADResetWbcTgcWeight Recalculates the body weight measured by the Wii Balance Board with temperature and gravity corrections applied.

Structures and Unions

KPADStatus This structure stores controller data in the KPAD library.
KPADEXStatus This union stores the data for the extended unit in the KPAD library.
KPADUnifiedWpadStatus This structure stores controller data such as WPADStatus, including the data format for each element.

Deprecated Functions

KPADSetObjInterval (obsolete) Deprecated.
KPADGetWPADRingBuffer (obsolete) Deprecated.
KPADGetWPADFSRingBuffer (obsolete) Deprecated.
KPADGetWPADCLRingBuffer (obsolete) Deprecated.



CONFIDENTIAL