48 unsigned long timeout_ms);
Main Wiimote device structure.
Definition: wiiuse.h:751
General internal wiiuse stuff.
int wiiuse_wait_report(struct wiimote_t *wm, int report, byte *buffer, int bufferLength, unsigned long timeout_ms)
Wait until specified report arrives and return it.
Definition: io.c:124
void wiiuse_handshake(struct wiimote_t *wm, byte *data, uint16_t len)
Get initialization data from the wiimote.
Definition: io.c:250
void wiiuse_read_data_sync(struct wiimote_t *wm, byte memory, unsigned addr, unsigned short size, byte *data)
Read memory/register data synchronously.
Definition: io.c:175