Main Page   Namespace List   Class Hierarchy   Compound List   File List   Compound Members   File Members  

SDLKeyboardDevice Class Reference

SDLKeyboardDevice.h. More...

#include <SDLKeyboardDevice.h>

Inheritance diagram for SDLKeyboardDevice:

SDLInputDevice SCA_IInputDevice List of all members.

Public Methods

 SDLKeyboardDevice ()
virtual void NextFrame ()
 NextFrame toggles currentTable with previousTable, and copy relevant event information from previous to current (pressed keys need to be remembered). More...

virtual bool ConvertSDLEvent (SDLKey incode, int val)
 ConvertSDLEvent translates SDL keyboard events into ketsji kbd events extra event information is stored, like ramp-mode (just released/pressed). More...


Detailed Description

SDLKeyboardDevice.h.

Version:

Id:
SDLKeyboardDevice.h,v 1.1 2001/01/25 18:58:44 raymond Exp

Definition at line 14 of file SDLKeyboardDevice.h.


Constructor & Destructor Documentation

SDLKeyboardDevice::SDLKeyboardDevice ( ) [inline]
 

Definition at line 17 of file SDLKeyboardDevice.h.


Member Function Documentation

bool SDLKeyboardDevice::ConvertSDLEvent ( SDLKey incode,
int val ) [virtual]
 

ConvertSDLEvent translates SDL keyboard events into ketsji kbd events extra event information is stored, like ramp-mode (just released/pressed).

Reimplemented from SDLInputDevice.

Definition at line 39 of file SDLKeyboardDevice.cpp.

Referenced by SDLSystem::HandleEvent().

void SDLKeyboardDevice::NextFrame ( ) [virtual]
 

NextFrame toggles currentTable with previousTable, and copy relevant event information from previous to current (pressed keys need to be remembered).

Reimplemented from SCA_IInputDevice.

Definition at line 13 of file SDLKeyboardDevice.cpp.


The documentation for this class was generated from the following files:
Generated at Thu Feb 1 13:03:58 2001 for Ketsji Game Engine by doxygen1.2.3 written by Dimitri van Heesch, © 1997-2000