Make the return value of wiiuse_update match that of wiiuse_poll

This commit is contained in:
Ryan Pavlik
2011-06-17 10:15:43 -05:00
parent 8f07f7a480
commit 3ae8ff0139
2 changed files with 5 additions and 2 deletions

View File

@@ -784,6 +784,8 @@ WIIUSE_EXPORT extern int wiiuse_poll(struct wiimote_t** wm, int wiimotes);
*
* Alternative to calling wiiuse_poll yourself, and provides the same
* information struct on all platforms.
*
* @return Number of wiimotes that had an event.
*/
WIIUSE_EXPORT extern int wiiuse_update(struct wiimote_t** wm, int wiimotes, wiiuse_update_cb callback);