#include <revolution/kpad.h>
typedef enum KPADMplsZeroDriftMode {
KPAD_MPLS_ZERODRIFT_LOOSE = 0,
KPAD_MPLS_ZERODRIFT_STANDARD,
KPAD_MPLS_ZERODRIFT_TIGHT
} KPADMplsZeroDriftMode ;
void KPADSetMplsZeroDriftMode( s32 chan, KPADMplsZeroDriftMode mode );
| chan | One of the WPAD_CHANn values. |
|---|---|
| mode | Any one of KPAD_MPLS_ZERODRIFT_*. |
None.
Sets the zero-point drift correction mode of the specified channel's Wii MotionPlus. These settings are applied to all axes.
If KPAD_MPLS_ZERODRIFT_LOOSE is set, correction may be applied even during constant velocity motion, because the Wii MotionPlus value is treated as stable and an attempt is made to apply correction even if the value varies slightly. In such cases, this can be improved by setting a mode that uses stricter conditions. The default is set to KPAD_MPLS_ZERODRIFT_STANDARD.
KPADGetMplsZeroDriftMode
KPADInitMplsZeroDriftMode
2008/12/04 Initial version.
CONFIDENTIAL