diff options
Diffstat (limited to 'src/inputmanager.h')
-rw-r--r-- | src/inputmanager.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/inputmanager.h b/src/inputmanager.h index b8114d906..82e5fd5b7 100644 --- a/src/inputmanager.h +++ b/src/inputmanager.h @@ -134,7 +134,8 @@ class InputManager int getNewKeyIndex() const { return mNewKeyIndex; } - void updateKeyActionMap(KeyToActionMap &actionMap, int type); + void updateKeyActionMap(KeyToActionMap &actionMap, + KeyToIdMap &idMap, int type); bool invokeKey(const KeyData *key, int keyNum); @@ -148,6 +149,8 @@ class InputManager void updateConditionMask(); + int getActionByKey(const SDL_Event &event); + protected: Setup_Input *mSetupInput; /**< Reference to setup window */ |