From bb258f09a0b50f6382be2ff36637191a8b103c3f Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 8 Apr 2012 21:05:01 +0300 Subject: Move some more code from keyboardconfig to inputmanager. --- src/inputmanager.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/inputmanager.h') diff --git a/src/inputmanager.h b/src/inputmanager.h index b04f15726..0efe2d85e 100644 --- a/src/inputmanager.h +++ b/src/inputmanager.h @@ -21,6 +21,7 @@ #ifndef INPUTMANAGER_H #define INPUTMANAGER_H +#include "inputevent.h" #include "keydata.h" #include "gui/sdlinput.h" @@ -134,6 +135,10 @@ class InputManager int getNewKeyIndex() const { return mNewKeyIndex; } + void updateKeyActionMap(KeyToActionMap &actionMap, int type); + + bool invokeKey(const KeyData *key, int keyNum, int mask); + protected: Setup_Keyboard *mSetupKey; /**< Reference to setup window */ -- cgit v1.2.3-60-g2f50