Added missing functions for checking type of keyboard event
This commit is contained in:
parent
782867f7b3
commit
9adbdd803a
|
@ -229,6 +229,16 @@ public:
|
|||
return m_keyCode;
|
||||
}
|
||||
|
||||
bool IsKeyUp() const
|
||||
{
|
||||
return m_actions == TA_KeyUp;
|
||||
}
|
||||
|
||||
bool IsKeyDown() const
|
||||
{
|
||||
return m_actions == TA_KeyDown;
|
||||
}
|
||||
|
||||
void Ignore();
|
||||
|
||||
void SetMouseDragOrigin( const VECTOR2D &aP )
|
||||
|
|
Loading…
Reference in New Issue