diff options
Diffstat (limited to 'engines/titanic/events.h')
-rw-r--r-- | engines/titanic/events.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/engines/titanic/events.h b/engines/titanic/events.h index dc1781fae1..fe2c75166d 100644 --- a/engines/titanic/events.h +++ b/engines/titanic/events.h @@ -67,6 +67,8 @@ private: void rightButtonDoubleClick(); void charPress(char c); void keyDown(Common::KeyState keyState); + void keyUp(Common::KeyState keyState); + void handleKbdSpecial(Common::KeyState keyState); public: Events(TitanicEngine *vm); ~Events() {} @@ -91,6 +93,11 @@ public: * Get the elapsed playtime */ uint32 getTicksCount() const; + + /** + * Return whether a given special key is currently pressed + */ + bool isSpecialPressed(SpecialButtons btn) const { return _specialButtons; } }; } // End of namespace Titanic |