KPADIsEnableMplsZeroPlay

Syntax

#include <revolution/kpad.h>

f32 KPADIsEnableMplsZeroPlay( s32 chan );

Arguments

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.

See Also

KPADEnableMplsZeroPlay
KPADDisableMplsZeroPlay

Revision History

2008/12/04 Initial version.


CONFIDENTIAL