make wiimote_poll a platform-specific function, move implementations to os_*.c/os_mac.m

This commit is contained in:
Lysann Schlegel
2012-11-10 13:56:06 +01:00
parent 6f6ba68ed6
commit 71569818e5
6 changed files with 142 additions and 138 deletions

View File

@@ -51,6 +51,7 @@ int wiiuse_os_find(struct wiimote_t** wm, int max_wiimotes, int timeout);
int wiiuse_os_connect(struct wiimote_t** wm, int wiimotes);
void wiiuse_os_disconnect(struct wiimote_t* wm);
int wiiuse_os_poll(struct wiimote_t** wm, int wiimotes);
int wiiuse_os_read(struct wiimote_t* wm);
int wiiuse_os_write(struct wiimote_t* wm, byte* buf, int len);
/** @} */