37 #ifndef EVENTS_H_INCLUDED 38 #define EVENTS_H_INCLUDED void wiiuse_pressed_buttons(struct wiimote_t *wm, byte *msg)
Find what buttons are pressed.
Definition: events.c:319
Main Wiimote device structure.
Definition: wiiuse.h:751
void handshake_expansion(struct wiimote_t *wm, byte *data, uint16_t len)
Handle the handshake data from the expansion device.
Definition: events.c:699
void propagate_event(struct wiimote_t *wm, byte event, byte *msg)
Analyze the event that occurred on a wiimote.
Definition: events.c:191
void disable_expansion(struct wiimote_t *wm)
Disable the expansion device if it was enabled.
Definition: events.c:853
void clear_dirty_reads(struct wiimote_t *wm)
Clear out all old 'dirty' read requests.
Definition: events.c:148
void idle_cycle(struct wiimote_t *wm)
Called on a cycle where no significant change occurs.
Definition: events.c:120