RetroArch
Functions
events.c File Reference
#include <stdio.h>
#include <sys/time.h>
#include <unistd.h>
#include <errno.h>
#include <sys/types.h>
#include <stdlib.h>
#include <math.h>
#include <string.h>
#include "dynamics.h"
#include "definitions.h"
#include "wiiuse_internal.h"
#include "events.h"
#include "nunchuk.h"
#include "classic.h"
#include "motion_plus.h"
#include "ir.h"
#include "io.h"
Include dependency graph for events.c:

Functions

static void event_data_read (struct wiimote_t *wm, ubyte *msg)
 
static void event_ack (struct wiimote_t *wm, ubyte *msg)
 
static void event_status (struct wiimote_t *wm, ubyte *msg)
 
static void handle_expansion (struct wiimote_t *wm, ubyte *msg)
 
void idle_cycle (struct wiimote_t *wm)
 Called on a cycle where no significant change occurs. More...
 
void parse_event (struct wiimote_t *wm)
 
void wiiuse_pressed_buttons (struct wiimote_t *wm, ubyte *msg)
 Find what buttons are pressed. More...
 

Function Documentation

◆ event_ack()

static void event_ack ( struct wiimote_t wm,
ubyte msg 
)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ event_data_read()

static void event_data_read ( struct wiimote_t wm,
ubyte msg 
)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ event_status()

static void event_status ( struct wiimote_t wm,
ubyte msg 
)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ handle_expansion()

static void handle_expansion ( struct wiimote_t wm,
ubyte msg 
)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ idle_cycle()

void idle_cycle ( struct wiimote_t wm)

Called on a cycle where no significant change occurs.

Parameters
wmPointer to a wiimote_t structure.
Here is the call graph for this function:

◆ parse_event()

void parse_event ( struct wiimote_t wm)
Here is the call graph for this function:

◆ wiiuse_pressed_buttons()

void wiiuse_pressed_buttons ( struct wiimote_t wm,
ubyte msg 
)

Find what buttons are pressed.

Parameters
wmPointer to a wiimote_t structure.
msgThe message specified in the event packet.
Here is the caller graph for this function: