KPADIsEnableMplsZeroDrift

Syntax

#include <cafe/pads/kpad/kpad.h>

f32 KPADIsEnableMplsZeroDrift( s32 chan );

Parameters

chan One of the WPAD_CHANn values.

Return Values

Returns a negative value when disabled. Returns a value of zero or more when enabled. This value indicates the correction level. The closer this value approaches 1, the more stable the Wii MotionPlus is at the angular velocity at that time. In addition, correction is not performed during the period that zero is returned.

Description

Gets the level of zero-point drift correction of the specified channel's Wii MotionPlus. This value indicates the correction level. The closer this value approaches 1, the more stable the Wii MotionPlus is at the angular velocity at that time.

Do Not Call From

Background Do not call this function from the background.
Interrupt handler Do not call this function from any interrupt handler.
Exception handler Do not call this function from any exception handler.
Multiple Cores Do not call this function from more than one Core.

Revision History

2013-05-08 Automated cleanup pass.
2008-12-04 Initial version.


CONFIDENTIAL