Function
nuContDataGet
Syntax
void nuContDataGet(OSContPad *contpad, u32 cont_no)
Arguments
*contpad Controller data structure
cont_no number of Controller read
Return Value
None
Description
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.
Example
OSContPad padData;
/* read data from 1 Controller */
nuContDataGet(&padData, 0);
Note
This function was a macro in V1.1
See Also
nuContDataRead and nuContDataGetAll