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

BL_BlenderInputDevice Class Reference

Base Class for Blender specific inputdevices. More...

#include <KX_BlenderInputDevice.h>

Inheritance diagram for BL_BlenderInputDevice:

SCA_IInputDevice KX_BlenderKeyboardDevice KX_BlenderMouseDevice List of all members.

Public Methods

 BL_BlenderInputDevice ()
virtual ~BL_BlenderInputDevice ()
KX_EnumInputs ToNative (unsigned short incode)
virtual bool IsPressed (SCA_IInputDevice::KX_EnumInputs inputcode) = 0
virtual bool ConvertBlenderEvent (unsigned short incode,short val) = 0

Detailed Description

Base Class for Blender specific inputdevices.

Blender specific inputdevices are used when the gameengine is running in embedded mode instead of standalone mode.

Definition at line 12 of file KX_BlenderInputDevice.h.


Constructor & Destructor Documentation

BL_BlenderInputDevice::BL_BlenderInputDevice ( ) [inline]
 

Definition at line 17 of file KX_BlenderInputDevice.h.

BL_BlenderInputDevice::~BL_BlenderInputDevice ( ) [inline, virtual]
 

Definition at line 167 of file KX_BlenderInputDevice.h.


Member Function Documentation

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

Reimplemented in KX_BlenderKeyboardDevice, and KX_BlenderMouseDevice.

virtual bool BL_BlenderInputDevice::IsPressed ( SCA_IInputDevice::KX_EnumInputs inputcode ) [pure virtual]
 

Reimplemented from SCA_IInputDevice.

Reimplemented in KX_BlenderKeyboardDevice, and KX_BlenderMouseDevice.

KX_EnumInputs BL_BlenderInputDevice::ToNative ( unsigned short incode ) [inline]
 

Definition at line 172 of file KX_BlenderInputDevice.h.

Referenced by BL_ConvertSensors(), KX_BlenderMouseDevice::ConvertBlenderEvent(), and KX_BlenderKeyboardDevice::ConvertBlenderEvent().


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