diff options
Diffstat (limited to 'source/gameengine/GamePlayer/common/GPC_KeyboardDevice.h')
-rw-r--r-- | source/gameengine/GamePlayer/common/GPC_KeyboardDevice.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source/gameengine/GamePlayer/common/GPC_KeyboardDevice.h b/source/gameengine/GamePlayer/common/GPC_KeyboardDevice.h index 678200b62d9..da3dc2398dd 100644 --- a/source/gameengine/GamePlayer/common/GPC_KeyboardDevice.h +++ b/source/gameengine/GamePlayer/common/GPC_KeyboardDevice.h @@ -58,9 +58,11 @@ protected: * System dependent keyboard codes are stored as ints. */ std::map<int, KX_EnumInputs> m_reverseKeyTranslateTable; + bool m_hookesc; public: GPC_KeyboardDevice() + : m_hookesc(false) { } @@ -81,6 +83,8 @@ public: } virtual bool ConvertEvent(int incode, int val); + + virtual void HookEscape(); }; #endif // _GPC_KEYBOARDDEVICE_H |