![]() |
![]() |
![]() |
![]() |
![]() |
||||||||||||||||||||||||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
![]() |
nuContDataReadStartFormatvoid nuContDataReadStart(void) Returned Value none What This Function Does It starts to read the Controller data directly from the game application. Usually, the Controller Manager automatically reads the Controller data at the time of a retrace. But this function can be used if you want to read the Controller's data from the game application at an arbitrary time. The read is not synchronized, so it is quickly returned, unlike with the nuContDataRead function. To wait for the end of the read, use the nuContDataReadWait function. The Controller data that is read can be fetched with the nuContDataGet function. If you want to conduct a synchronized read, use the nuContDataRead function. Example OSContPad padData[NU_CONT_MAXCONTROLLERS]; /* Start to read the Controller data */ nuContDataReadStart(); ..... /* Wait for the end of data read */ nuContDataReadWait(); /* Get the data */ nuContDataGetAll(padData);See Also nuContDataRead nuContDataGet nuContDataReadWait
|