#include <keyboardsdl.h>
Inheritance diagram for KeyboardSDL:


Public Member Functions | |
| KeyboardSDL () | |
| virtual | ~KeyboardSDL () |
| virtual bool | Init (kerosin::InputSystem *inputSystem) |
| init the device | |
| virtual int | EventFilter (const SDL_Event *event) |
| this filters an SDL specific input | |
Protected Types | |
| typedef std::map< int, int > | TSymMap |
Protected Member Functions | |
| void | SetupSymMap () |
| sets up the mapping from SDL key constants to InputServer key constants | |
| bool | TranslateSymbol (int &sym) |
| translates a SDL key constant to an InputServer key constant. | |
Protected Attributes | |
| TSymMap | mSymbols |
| mapping fomr SDL key constants to InputServer key constants | |
Definition at line 31 of file keyboardsdl.h.
|
|
Definition at line 58 of file keyboardsdl.h. |
|
|
Definition at line 28 of file keyboardsdl.cpp. References SetupSymMap(). Here is the call graph for this function: ![]() |
|
|
Definition at line 33 of file keyboardsdl.cpp. |
|
|
this filters an SDL specific input
Implements InputDeviceSDL. Definition at line 204 of file keyboardsdl.cpp. References kerosin::InputSystem::AddInputInternal(), kerosin::InputServer::Input::data, kerosin::InputServer::eButton, kerosin::InputServer::eLAlt, kerosin::InputServer::eLShift, kerosin::InputServer::eRAlt, kerosin::InputServer::eRShift, kerosin::InputSystem::GetInputServer(), zeitgeist::Object::GetLog(), kerosin::InputDevice::mInputSystem, kerosin::InputServer::mModifierState, and TranslateSymbol(). Here is the call graph for this function: ![]() |
|
|
init the device
Reimplemented from kerosin::InputDevice. Definition at line 185 of file keyboardsdl.cpp. References kerosin::InputDevice::Init(). Here is the call graph for this function: ![]() |
|
|
|
translates a SDL key constant to an InputServer key constant. returns true on success Definition at line 191 of file keyboardsdl.cpp. References mSymbols. Referenced by EventFilter(). |
|
|
mapping fomr SDL key constants to InputServer key constants
Definition at line 61 of file keyboardsdl.h. Referenced by SetupSymMap(), and TranslateSymbol(). |
1.4.4