same interface for all wiiuse_os_read's
This commit is contained in:
1
src/os.h
1
src/os.h
@@ -52,6 +52,7 @@ 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);
|
||||
/* buf[0] will be the report type, buf+1 the rest of the report */
|
||||
int wiiuse_os_read(struct wiimote_t* wm, byte* buf, int len);
|
||||
int wiiuse_os_write(struct wiimote_t* wm, byte* buf, int len);
|
||||
/** @} */
|
||||
|
||||
Reference in New Issue
Block a user