My Project
Public Member Functions | List of all members
ParaEngine::CDirectKeyboard Class Reference
Inheritance diagram for ParaEngine::CDirectKeyboard:
ParaEngine::CGUIKeyboardVirtual

Public Member Functions

 CDirectKeyboard (HWND hDlg=0)
 
- Public Member Functions inherited from ParaEngine::CGUIKeyboardVirtual
virtual bool IsUseWindowsMessage ()
 whether to use window message for buffered mouse event. More...
 
virtual void SetUseWindowsMessage (bool bUseWinMsg)
 whether to use window message for buffered mouse event. More...
 
virtual void PushKeyEvent (UINT uMsg, WPARAM wParam, LPARAM lParam)
 push a standard windows key event to the buffer for processing in the next frame move. More...
 
virtual void PushKeyEvent (const MSG &msg)
 push a standard windows key event to the buffer for processing in the next frame move. More...
 
virtual void Update ()
 read hardware buffer and immediate keyboard states to internal data structure. More...
 
virtual bool IsKeyPressed (DWORD nKey)
 return true if the key is being pressed at the time of calling. More...
 
virtual void SetKeyPressed (DWORD nKey, bool bPressed)
 
virtual void Reset ()
 
virtual HRESULT ReadBufferedData ()
 
virtual HRESULT ReadImmediateData ()
 
virtual BYTE GetLastKeyState (int nIndex)
 
virtual BYTE GetCurrentKeyState (int nIndex)
 
virtual short GetKeyState (int nIndex)
 
BYTE * GetKeyStates ()
 
DWORD GetElementsCount () const
 
void SetElementsCount (DWORD val)
 
DIDEVICEOBJECTDATAGetDeviceObjectData ()
 

Additional Inherited Members

- Static Public Member Functions inherited from ParaEngine::CGUIKeyboardVirtual
static void SetCapture (CGUIBase *obj)
 
static void ReleaseCapture ()
 
static void ReleaseCapture (CGUIBase *obj)
 
static CGUIBaseGetCapture ()
 
- Protected Attributes inherited from ParaEngine::CGUIKeyboardVirtual
DWORD m_dwElements
 
BYTE m_keystate [256]
 
BYTE m_lastkeystate [256]
 
DIDEVICEOBJECTDATA m_didod [SAMPLE_BUFFER_SIZE]
 
bool m_bUseWindowMessage
 whether to use window message for buffered mouse event. More...
 
MSG m_buffered_key_msgs [SAMPLE_BUFFER_SIZE/2]
 
int m_buffered_key_msgs_count
 
- Static Protected Attributes inherited from ParaEngine::CGUIKeyboardVirtual
static CGUIBasem_objCaptured = NULL
 

The documentation for this class was generated from the following file: