WPADSetMplsCalibration

Syntax

#include <revolution/wpad.h>

#define WPAD_CHAN0               0
#define WPAD_CHAN1               1
#define WPAD_CHAN2               2
#define WPAD_CHAN3               3

void WPADSetMplsCalibration( s32 chan, WPADMPStatus *status );

Arguments

chan One of the WPAD_CHANn values.
status Buffer that passes each axis's zero-point calibration values for the Wii MotionPlus sensors.

Return Values

None.

Description

This function has been removed from use. Please use the KPAD library if you are using the Wii MotionPlus.

This function resets the pitch_zero, yaw_zero, and roll_zero members of the low-speed WPADMpls structure with the values of the pitch, yaw, and roll members of the WPADMPStatus structure passed in the status argument. The low-speed WPADMpls structure is one of the structures that can be obtained from the WPADGetMplsCalibration function with calibration values for the specified Wii Remote channel's Wii MotionPlus The high-speed structure is reset internally by the library, based on the low-speed values.

See Also

WPADGetMplsCalibration

Revision History

2009/07/27 Explained that this has been made obsolete since SDK 3.3.
2008/07/18 Initial version.


CONFIDENTIAL