34 #ifndef PLATFORM_H_INCLUDED 35 #define PLATFORM_H_INCLUDED 45 void wiiuse_init_platform_fields(
struct wiimote_t *wm);
46 void wiiuse_cleanup_platform_fields(
struct wiimote_t *wm);
48 int wiiuse_os_find(
struct wiimote_t **wm,
int max_wiimotes,
int timeout);
50 int wiiuse_os_connect(
struct wiimote_t **wm,
int wiimotes);
51 void wiiuse_os_disconnect(
struct wiimote_t *wm);
53 int wiiuse_os_poll(
struct wiimote_t **wm,
int wiimotes);
55 int wiiuse_os_read(
struct wiimote_t *wm, byte *buf,
int len);
56 int wiiuse_os_write(
struct wiimote_t *wm, byte report_type, byte *buf,
int len);
58 unsigned long wiiuse_os_ticks();
Main Wiimote device structure.
Definition: wiiuse.h:751
General internal wiiuse stuff.