#include <revolution/kpad.h> void KPADSetMplsDirectionMag( s32 chan, f32 mag );
| chan | One of the WPAD_CHANn values. |
|---|---|
| mag | Magnitude applied to the angular velocity used to calculate the 3D attitude. |
None.
Sets the magnitude to be applied to the angular velocity value used to internally calculate the dir member of the KPADMPStatus structure obtained by the KPADRead function for the specified channel's Wii MotionPlus. For example, if mag is set to 2.0f and the attitude is rotated 90 degrees, the dir member of the KPADMPStatus is calculated as an attitude rotated 180 degrees.
None.
2008/12/04 Initial version.
CONFIDENTIAL