GPAC
Open Source Multimedia Framework. For more information, check out http://gpac.wp.mines-telecom.fr
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups
wiiis.c File Reference
#include <gpac/modules/codec.h>
#include <gpac/scenegraph_vrml.h>
#include <gpac/thread.h>
#include <wiiuse.h>
+ Include dependency graph for wiiis.c:

Data Structures

struct  GF_WiiMote
 

Macros

#define WRITE_BUTTON(_b)
 
#define WII_PI   3.1415926535898f
 

Functions

static Bool WII_RegisterDevice (struct __input_device *ifce, const char *urn, GF_BitStream *dsi, void(*AddField)(struct __input_device *_this, u32 fieldType, const char *name))
 
static u32 WII_Run (void *par)
 
static void WII_Start (struct __input_device *ifce)
 
static void WII_Stop (struct __input_device *ifce)
 
const u32QueryInterfaces ()
 
GF_BaseInterfaceLoadInterface (u32 InterfaceType)
 
void ShutdownInterface (GF_BaseInterface *bi)
 

Data Structure Documentation

struct GF_WiiMote
+ Collaboration diagram for GF_WiiMote:
Data Fields
u32 nb_wiimotes
wiimote ** wiimotes
Bool running
u32 prev_id
GF_Thread * th

Macro Definition Documentation

#define WRITE_BUTTON (   _b)
Value:
if (IS_JUST_PRESSED(wm, _b)) { gf_bs_write_int(bs, 1, 1); gf_bs_write_int(bs, 1, 1); } \
else if (IS_RELEASED(wm, _b)) { gf_bs_write_int(bs, 1, 1); gf_bs_write_int(bs, 0, 1); } \
else gf_bs_write_int(bs, 0, 1); \
void gf_bs_write_int(GF_BitStream *bs, s32 value, s32 nBits)
integer writing
Definition: bitstream.c:477
#define WII_PI   3.1415926535898f

Function Documentation

static Bool WII_RegisterDevice ( struct __input_device *  ifce,
const char *  urn,
GF_BitStream *  dsi,
void(*)(struct __input_device *_this, u32 fieldType, const char *name)  AddField 
)
static

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static u32 WII_Run ( void *  par)
static

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void WII_Start ( struct __input_device *  ifce)
static

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void WII_Stop ( struct __input_device *  ifce)
static

+ Here is the caller graph for this function:

const u32* QueryInterfaces ( )
GF_BaseInterface* LoadInterface ( u32  InterfaceType)

+ Here is the call graph for this function:

void ShutdownInterface ( GF_BaseInterface bi)

+ Here is the call graph for this function: