Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members

inputsystemsdl.cpp File Reference

#include "inputsystemsdl.h"
#include "inputdevicesdl.h"
#include <kerosin/inputserver/inputserver.h>
#include <zeitgeist/logserver/logserver.h>
#include <SDL/SDL_thread.h>
#include "timersdl.h"

Include dependency graph for inputsystemsdl.cpp:

Go to the source code of this file.

Functions

static int EventFilterCallback (const SDL_Event *event)

Variables

InputSystemSDLgInputSystem


Function Documentation

static int EventFilterCallback const SDL_Event *  event  )  [static]
 

Definition at line 48 of file inputsystemsdl.cpp.

References InputSystemSDL::EventFilter().

Referenced by InputSystemSDL::Init().

Here is the call graph for this function:


Variable Documentation

InputSystemSDL* gInputSystem
 

This function is used to filter SDL Events and delegate them to the input device which registered for the event type.

NOTE: This function may run in a different thread, so care has to be taken when accessing the global object. Things to watch out for:

  • gDeviceList changes (done by individual devices (construction/destruction)) handled
  • Events are pushed into a device (done by EventFilter)
  • Events are taken out of a device (this is done by the inputserver)

Definition at line 46 of file inputsystemsdl.cpp.


Generated on Thu Apr 6 15:30:14 2006 for rcssserver3d by  doxygen 1.4.4