Function


nuContRmbCheck


Syntax

s32 nuContRmbCheck(u32 contNo)
Arguments
contNo      Controller number
Return Value
The value returned by osMotorInit
Description

Checks the Rumble Pak

Checks whether the Rumble Pak is inserted and, if so, enables control of the Rumble Pak. Unlike the nuContPakOpen function, this function does not check whether the Controller Pak is inserted.

The nuContPakOpen function can also determine whether the Rumble Pak is inserted, but in that case you must set NU_CONT_PAK_TYPE_RUMBLE in nuContRMbCtl[contNo].type.

The return value is the value returned by the osMotorInit function.

See Also

nuContPakOpen