tools/applications/WiiDeviceServer/testWiiDevice.cpp File Reference

#include <stdarg.h>
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#include "DeviceStateSender.h"

Include dependency graph for testWiiDevice.cpp:


Defines

#define NUM_BUTTONS   0
#define NUM_AXIS   0
#define NUM_SENSORS   1
#define MAX_BUFFER_SIZE   (4+1+1+(NUM_BUTTONS+7)/8+1+(4*NUM_AXIS)+1+(7*4*NUM_SENSORS))
#define CLIENTPORT   8082
#define CLIENTCHANNEL   255

Functions

void calc (struct Point *firstPoint, struct Point *secondPoint)
int initNetwork (char *hostname, int port)
void interpretInput (char c)
int main (int argc, char *argv[])

Variables

DeviceState deviceState
DeviceStateSender sender

Define Documentation

#define CLIENTCHANNEL   255

#define CLIENTPORT   8082

#define MAX_BUFFER_SIZE   (4+1+1+(NUM_BUTTONS+7)/8+1+(4*NUM_AXIS)+1+(7*4*NUM_SENSORS))

#define NUM_AXIS   0

#define NUM_BUTTONS   0

#define NUM_SENSORS   1


Function Documentation

void calc ( struct Point firstPoint,
struct Point secondPoint 
)

int initNetwork ( char *  hostname,
int  port 
)

void interpretInput ( char  c  ) 

int main ( int  argc,
char *  argv[] 
)


Variable Documentation


Generated on Wed Oct 20 16:11:49 2010 for inVRs by doxygen 1.5.8