|
| int | wiiuse_poll (struct wiimote_t **wm, int wiimotes) |
| | Poll the wiimotes for any events. More...
|
| |
| int | wiiuse_update (struct wiimote_t **wiimotes, int nwiimotes, wiiuse_update_cb callback) |
| | Poll Wiimotes, and call the provided callback with information on each Wiimote that had an event. More...
|
| |
| void | idle_cycle (struct wiimote_t *wm) |
| | Called on a cycle where no significant change occurs. More...
|
| |
| void | clear_dirty_reads (struct wiimote_t *wm) |
| | Clear out all old 'dirty' read requests. More...
|
| |
| void | handle_wm_accel (struct wiimote_t *wm, byte *msg) |
| | Handle accel data in a wiimote message. More...
|
| |
| void | propagate_event (struct wiimote_t *wm, byte event, byte *msg) |
| | Analyze the event that occurred on a wiimote. More...
|
| |
| void | wiiuse_pressed_buttons (struct wiimote_t *wm, byte *msg) |
| | Find what buttons are pressed. More...
|
| |
| void | handshake_expansion (struct wiimote_t *wm, byte *data, uint16_t len) |
| | Handle the handshake data from the expansion device. More...
|
| |
| void | disable_expansion (struct wiimote_t *wm) |
| | Disable the expansion device if it was enabled. More...
|
| |
| int | state_changed (struct wiimote_t *wm) |
| | Determine if the current state differs significantly from the previous. More...
|
| |
Handles wiimote events.
The file includes functions that handle the events that are sent from the wiimote to us.