KPADIsEnableMplsDirRevise

Syntax

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

f32 KPADIsEnableMplsDirRevise( 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 more correction is applied to make it closer the base attitude, the closer this value is to 1.

Description

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

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

KPADEnableMplsDirRevise
KPADDisableMplsDirRevise

Revision History

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


CONFIDENTIAL