KPAD Function List

Functions

KPADInitInitializes the KPAD library.
KPADResetReturns to the initial state.
KPADReadObtains the data.
KPADGetPosParamGets the play radius and sensitivity for the set coordinate values.
KPADSetPosParamAdjusts the play radius and sensitivity for the coordinate values.
KPADGetPosPlayModeGets the play mode for the coordinate values that have been set.
KPADSetPosPlayModeSets the play mode for the coordinate values.
KPADGetHoriParamGets the play radius and sensitivity for the set horizontal parameter.
KPADSetHoriParamAdjusts the play radius and sensitivity for the horizontal parameters.
KPADGetHoriPlayModeGets the play mode for the horizontal parameters that have been set.
KPADSetHoriPlayModeSets the play mode for the horizontal parameters.
KPADGetDistParamGets the play radius and sensitivity for the set distance.
KPADSetDistParamAdjusts the play radius and sensitivity for the distance.
KPADGetDistPlayModeGets the play mode for the distance that has been set.
KPADSetDistPlayModeSets the play mode for the distance.
KPADGetAccParamGets the play radius and sensitivity for the set accelerometer.
KPADSetAccParamAdjusts the play radius and sensitivity for the acceleration sensor.
KPADGetAccPlayModeGets the play mode for the acceleration sensor that has been set.
KPADSetAccPlayModeSets the play mode for the acceleration sensor.
KPADSetBtnRepeatSets the digital button repeat functionality.
KPADSetObjIntervalSpecifies the distance between the two sensors on the Sensor Bar.
KPADSetSensorHeightSets the height for the Sensor Bar location.
KPADCalibrateDPDPerforms calibration.
KPADGetWPADRingBufferObtains the starting address of the ring buffer.
KPADGetWPADFSRingBufferObtains the starting address of the ring buffer.
KPADGetWPADCLRingBufferObtains the starting address of the ring buffer.
KPADSetFSStickClampClamps control stick data of the Nunchuk.
KPADEnableDPDIssues a request to turn ON the Wii Remote DPD module.
KPADDisableDPDIssues a request to turn OFF the Wii Remote DPD module.
KPADSetControlDpdCallbackRegisters the callback to use for notification when making DPD settings for the Wii Remote.
KPADEnableAimingModeSets the mode for getting the nearest coordinate to the spot on the TV screen actually being pointed to by the Wii Remote.
KPADDisableAimingModeSets the mode for getting the coordinate with the center of the Sensor Bar used as the reference (default).
KPADGetProjectionPosConverts the normalized coordinate values into projection coordinates.
KPADGetUnifiedWpadStatusGets controller data such as WPADStatus with the data format for each element.
KPADEnableStickCrossClampSets the clamp process method for the stick to cross clamping.
KPADDisableStickCrossClampSets the clamp process method for the stick-to-circular clamping.
KPADSetSamplingCallbackRegisters the sampling callback for the application.
KPADSetReviseModeGives preliminary specification whether to apply the angular correction to the value returned from the Nunchuk Motion Sensor.
KPADReviseAccPerforms the same kind of angular correction as when KPADSetReviseMode is set ON, but to arbitrary vectors.
KPADGetReviseAngleGets the rotation angle, in the degree unit, of the angular correction performed by KPADReviseAcc.

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 includes the data format for each element for controller data such as WPADStatus.