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

GlutKeyboardDevice Class Reference

#include <GlutKeyboardDevice.h>

Inheritance diagram for GlutKeyboardDevice:

KX_GlutInputDevice SCA_IInputDevice List of all members.

Public Methods

 GlutKeyboardDevice ()
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 ConvertGlutEvent (int incode,int val)
 ConvertGlutEvent translates Glut keyboard events into ketsji kbd events extra event information is stored, like ramp-mode (just released/pressed). More...


Constructor & Destructor Documentation

GlutKeyboardDevice::GlutKeyboardDevice ( ) [inline]
 

Definition at line 13 of file GlutKeyboardDevice.h.


Member Function Documentation

bool GlutKeyboardDevice::ConvertGlutEvent ( int incode,
int val ) [virtual]
 

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

Reimplemented from KX_GlutInputDevice.

Definition at line 35 of file GlutKeyboardDevice.cpp.

Referenced by MyGlutSystem::AddKey().

void GlutKeyboardDevice::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 9 of file GlutKeyboardDevice.cpp.


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