same interface for all wiiuse_os_write's
this also means we moved platform-sepcific write code into the wiiuse_os_write implementation of each platform.
This commit is contained in:
2
src/os.h
2
src/os.h
@@ -54,7 +54,7 @@ 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);
|
||||
int wiiuse_os_write(struct wiimote_t* wm, byte report_type, byte* buf, int len);
|
||||
/** @} */
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
||||
Reference in New Issue
Block a user