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

KX_BlenderMouseDevice Class Reference

#include <KX_BlenderMouseDevice.h>

Inheritance diagram for KX_BlenderMouseDevice:

BL_BlenderInputDevice SCA_IInputDevice List of all members.

Public Methods

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

virtual bool ConvertBlenderEvent (unsigned short incode,short val)
 ConvertBlenderEvent translates blender mouse 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_BlenderMouseDevice::KX_BlenderMouseDevice ( )
 

Definition at line 9 of file KX_BlenderMouseDevice.cpp.

KX_BlenderMouseDevice::~KX_BlenderMouseDevice ( ) [virtual]
 

Definition at line 13 of file KX_BlenderMouseDevice.cpp.


Member Function Documentation

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

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

Reimplemented from BL_BlenderInputDevice.

Definition at line 89 of file KX_BlenderMouseDevice.cpp.

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

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

Reimplemented from BL_BlenderInputDevice.

Definition at line 22 of file KX_BlenderMouseDevice.cpp.

void KX_BlenderMouseDevice::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 40 of file KX_BlenderMouseDevice.cpp.


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