Function


nuContDataGet

Syntax:
void nuContDataGet(OSContPad *contpad, u32 cont_no)
Arguments:
*contpad	 Controller data structure
cont_no		 The number of Controller read
Return Value:
None
Explanation:

Gets the Controller data

The Controller data is read at retrace time, or with the osContDataRead function, and stored in the internal buffer of the Controller Manager. The nuContDataGet function copies the data from the internal buffer. To get data from all 4 controllers, please use nuContDataGetAll.

For Example:	
	OSContPad	padData;

	/* read data from 1 Controller */
	nuContDataGet(&padData, 0);

Note:

This function was a macro in V1.1


Reference: nuContDataRead,nuContDataGetAll