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:326
Main Wiimote device structure.
Definition: wiiuse.h:793
void handshake_expansion(struct wiimote_t *wm, byte *data, uint16_t len)
Handle the handshake data from the expansion device.
Definition: events.c:706
void handle_wm_accel(struct wiimote_t *wm, byte *msg)
Handle accel data in a wiimote message.
Definition: events.c:167
void propagate_event(struct wiimote_t *wm, byte event, byte *msg)
Analyze the event that occurred on a wiimote.
Definition: events.c:198
int state_changed(struct wiimote_t *wm)
Determine if the current state differs significantly from the previous.
Definition: events.c:1000
void disable_expansion(struct wiimote_t *wm)
Disable the expansion device if it was enabled.
Definition: events.c:860
void clear_dirty_reads(struct wiimote_t *wm)
Clear out all old 'dirty' read requests.
Definition: events.c:147
void idle_cycle(struct wiimote_t *wm)
Called on a cycle where no significant change occurs.
Definition: events.c:119