summaryrefslogtreecommitdiff
path: root/src/keyboardconfig.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/keyboardconfig.h')
-rw-r--r--src/keyboardconfig.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/keyboardconfig.h b/src/keyboardconfig.h
index c06699b21..88d525522 100644
--- a/src/keyboardconfig.h
+++ b/src/keyboardconfig.h
@@ -85,6 +85,8 @@ class KeyboardConfig
void handleDeActicateKey(const SDL_Event &event);
+ int getActionId(const SDL_Event &event);
+
private:
bool mEnabled; /**< Flag to respond to key input */
@@ -93,6 +95,8 @@ class KeyboardConfig
Uint8 *mActiveKeys2; /**< Stores a list of all the keys */
KeyToActionMap mKeyToAction;
+
+ KeyToIdMap mKeyToId;
};
extern KeyboardConfig keyboard;