Function


nuContDataGetAll

Syntax:
void nuContDataGetAll(OSContPad *contpad)
Arguments:
*contpad	 Controller data structure
Return Value:
None
Explanation:

Gets data from all 4 Controllers

Copies the Controller data stored in the internal buffer of the Controller Manager. contpad needs a buffer the size of NU_CONT_MAXCONTROLLERS number of OSContPad structures. To get data from 1 controller, please use the nuContDataGet function. For details, please see the explanation of the nuContDataGet function.

For example:
	OSContPad	padData[NU_CONT_MAXCONTROLLERS];

	/* Read data from NU_CONT_MAXCONTROLLERS number of Controllers */
	nuContDataGetAll(padData);

Note:

This function was a macro in V1.1


Reference: nuContDataGet