Function
nuContInit
Syntax:
u8 nuContInit(void)
Arguments:
None
Return Value:
Bit pattern of the connected Controller
Explanation:
Initializes Controller and Controller Pak
Initializes the Controller, Controller Pak, and Rumble Pak so that they can be used.
Calls the nuSiMgrInit function internally and initializes and starts the SI Manager. Then calls the nuContMgrInit, nuContPakInit and nuContRmbInit functions and initializes and starts the Controller Manager, initializes and registers the Controller Pak Manager, and initializes and registers the Rumble Pak Manager. Refer to each function for details.
The returned value is the value returned by the nuSiMgrInit function. The bit pattern of the connected Controller is the same as the return value of the nuSiMgrInit function.
Reference: nuSiMgrInit, nuContMgrInit, nuContPakMgrInit, nuContRmbMgrInit