wiiuse
Functions
events.h File Reference

Handles wiimote events. More...

#include "wiiuse.h"
Include dependency graph for events.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

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...
 
void propagate_event (struct wiimote_t *wm, byte event, byte *msg)
 Analyze the event that occurred on a wiimote. 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...
 

Detailed Description

Handles wiimote events.

The file includes functions that handle the events that are sent from the wiimote to us.