00001 #ifndef __KX_BLENDERKEYBOARDDEVICE 00002 #define __KX_BLENDERKEYBOARDDEVICE 00003 00004 #include "KX_BlenderInputDevice.h" 00005 00006 class KX_BlenderKeyboardDevice : public BL_BlenderInputDevice 00007 { 00008 public: 00009 KX_BlenderKeyboardDevice(); 00010 virtual ~KX_BlenderKeyboardDevice(); 00011 00012 virtual bool IsPressed(SCA_IInputDevice::KX_EnumInputs inputcode); 00013 // virtual const SCA_InputEvent& GetEventValue(SCA_IInputDevice::KX_EnumInputs inputcode); 00014 virtual bool ConvertBlenderEvent(unsigned short incode,short val); 00015 virtual void NextFrame(); 00016 }; 00017 #endif //__KX_BLENDERKEYBOARDDEVICE