wiiuse
Functions
Internal: Tatacon

Functions

int tatacon_handshake (struct wiimote_t *wm, struct tatacon_t *tatacon, byte *data, unsigned short len)
 
void tatacon_disconnected (struct tatacon_t *tatacon)
 The tatacon disconnected. More...
 
void tatacon_event (struct tatacon_t *tatacon, byte *msg)
 Handle tatacon event. More...
 
void tatacon_pressed_buttons (struct tatacon_t *tatacon, byte now)
 Find what buttons are pressed. More...
 

Detailed Description

Function Documentation

◆ tatacon_disconnected()

void tatacon_disconnected ( struct tatacon_t tatacon)

The tatacon disconnected.

Parameters
tataconA pointer to a tatacon_t structure.

◆ tatacon_event()

void tatacon_event ( struct tatacon_t tatacon,
byte *  msg 
)

Handle tatacon event.

Parameters
tataconA pointer to a tatacon_t structure.
msgThe message specified in the event packet.

◆ tatacon_pressed_buttons()

void tatacon_pressed_buttons ( struct tatacon_t tatacon,
byte  now 
)

Find what buttons are pressed.

Parameters
tataconPointer to a tatacon_t structure.
nowThe buttons byte in the event packet.