tools/applications/JoystickServer/JoystickServer.cpp File Reference

#include <stdlib.h>
#include "JoystickStateBlockDistributer.h"
#include <inVRs/InputInterface/ControllerManager/UdpDevice.h>
#include <irrXML.h>
#include <vector>
#include <SDL/SDL.h>

Include dependency graph for JoystickServer.cpp:


Classes

struct  AXISMAPPING
struct  BUTTONMAPPING

Functions

bool init (char *cfgPath)
void cleanup ()
void pollJoystickState ()
int main (int argc, char **argv)

Variables

DEVICESTATE state
JoystickStateBlockDistributer sender
SDL_Joystick * joystick = NULL
SDL_Surface * screen = NULL
SDL_Surface * image = NULL
SDL_Event event
int jnum = 0
std::vector< AXISMAPPINGaxisMappingList
std::vector< BUTTONMAPPINGbuttonMappingList
IrrXMLReader * xml = NULL
int joyIdx = -1
int numJoystickButtons = 0
int numJoystickAxis = 0
int networkChannel = UDPDEVICE_NETWORKCHANNEL

Function Documentation

void cleanup (  ) 

bool init ( char *  cfgPath  ) 

int main ( int  argc,
char **  argv 
)

void pollJoystickState (  ) 


Variable Documentation

SDL_Event event

SDL_Surface * image = NULL

int jnum = 0

int joyIdx = -1

SDL_Joystick* joystick = NULL

int networkChannel = UDPDEVICE_NETWORKCHANNEL

int numJoystickAxis = 0

SDL_Surface* screen = NULL

IrrXMLReader* xml = NULL


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