#include <revolution/wpad.h>
#define WPAD_CHAN0 0
#define WPAD_CHAN1 1
#define WPAD_CHAN2 2
#define WPAD_CHAN3 3
typedef struct WPADAcc
{
s16 x;
s16 y;
s16 z;
}
void WPADGetAccGravityUnit( s32 chan, u32 type, WPADAcc *acc );
| chan | One of the WPAD_CHANn values. |
|---|---|
| type | One of the WPAD_DEV_*. |
| acc | Pointer used to copy X, Y, Z axis calibration values. |
None.
Gets the calibration data for each axis of the Motion Sensor on the specified channel for either the Wii Remote or Nunchuk. This is the Motion Sensor value when 1G (gravity) of force is applied to each of the X, Y, and Z axes.
WPAD_DEV_CORE.WPAD_DEV_FREESTYLE.None.
2007/02/13 Changed the Description to use the term "calibration".
2006/06/19 Initial version.
CONFIDENTIAL