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

KX_BlenderKeyboardDevice Class Reference

#include <KX_BlenderKeyboardDevice.h>

Inheritance diagram for KX_BlenderKeyboardDevice:

BL_BlenderInputDevice SCA_IInputDevice List of all members.

Public Methods

 KX_BlenderKeyboardDevice ()
virtual ~KX_BlenderKeyboardDevice ()
virtual bool IsPressed (SCA_IInputDevice::KX_EnumInputs inputcode)
 IsPressed gives boolean information about keyboard status, true if pressed, false if not. More...

virtual bool ConvertBlenderEvent (unsigned short incode,short val)
 ConvertBlenderEvent translates blender keyboard events into ketsji kbd events extra event information is stored, like ramp-mode (just released/pressed). More...

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


Constructor & Destructor Documentation

KX_BlenderKeyboardDevice::KX_BlenderKeyboardDevice ( )
 

Definition at line 9 of file KX_BlenderKeyboardDevice.cpp.

KX_BlenderKeyboardDevice::~KX_BlenderKeyboardDevice ( ) [virtual]
 

Definition at line 13 of file KX_BlenderKeyboardDevice.cpp.


Member Function Documentation

bool KX_BlenderKeyboardDevice::ConvertBlenderEvent ( unsigned short incode,
short val ) [virtual]
 

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

Reimplemented from BL_BlenderInputDevice.

Definition at line 63 of file KX_BlenderKeyboardDevice.cpp.

bool KX_BlenderKeyboardDevice::IsPressed ( SCA_IInputDevice::KX_EnumInputs inputcode ) [virtual]
 

IsPressed gives boolean information about keyboard status, true if pressed, false if not.

Reimplemented from BL_BlenderInputDevice.

Definition at line 22 of file KX_BlenderKeyboardDevice.cpp.

void KX_BlenderKeyboardDevice::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 39 of file KX_BlenderKeyboardDevice.cpp.


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