KPADIsEnableMplsDpdRevise

Syntax

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

f32 KPADIsEnableMplsDpdRevise( 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 is to 1, the more correction is applied so that the current attitude is made to approach the attitude in the yaw and roll axes measured based on the DPD.

Description

Checks if DPD correction is enabled for the specified channel's Wii MotionPlus. Returns the correction level when enabled. DPD correction is initially enabled.

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.

See Also

KPADEnableMplsDpdRevise
KPADDisableMplsDpdRevise

Revision History

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


CONFIDENTIAL