KPADIsEnableMplsZeroPlay

Syntax

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

f32 KPADIsEnableMplsZeroPlay( 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 the current angular velocity is to the play tolerance value that has been set, the closer to zero is this return value. Zero is returned if the velocity exceeds the play tolerance range.

Description

Checks if zero-point play tolerance is enabled for the specified channel's Wii MotionPlus. Returns the correction level when enabled. Zero-point play tolerance 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

KPADEnableMplsZeroPlay
KPADDisableMplsZeroPlay

Revision History

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


CONFIDENTIAL