summaryrefslogtreecommitdiff
path: root/src/keyboardconfig.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-04-09 23:59:46 +0300
committerAndrei Karas <akaras@inbox.ru>2012-04-09 23:59:46 +0300
commit8f3be5cd0544af07c6cb65bef7a1f3ba1a3704bb (patch)
tree61182aa0154f8477581da0a8950397c65c8e59a6 /src/keyboardconfig.h
parent21ed1674f5ee382626e80a35dba9d97ec0bc1b92 (diff)
downloadmv-8f3be5cd0544af07c6cb65bef7a1f3ba1a3704bb.tar.gz
mv-8f3be5cd0544af07c6cb65bef7a1f3ba1a3704bb.tar.bz2
mv-8f3be5cd0544af07c6cb65bef7a1f3ba1a3704bb.tar.xz
mv-8f3be5cd0544af07c6cb65bef7a1f3ba1a3704bb.zip
Fix asigning keys unknown for SDL.
Allow full use of keys unknown for SDL (with press state also).
Diffstat (limited to 'src/keyboardconfig.h')
-rw-r--r--src/keyboardconfig.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/keyboardconfig.h b/src/keyboardconfig.h
index 4d57acc7f..ce09de898 100644
--- a/src/keyboardconfig.h
+++ b/src/keyboardconfig.h
@@ -81,11 +81,17 @@ class KeyboardConfig
void update();
+ void handleActicateKey(const SDL_Event &event);
+
+ void handleDeActicateKey(const SDL_Event &event);
+
private:
bool mEnabled; /**< Flag to respond to key input */
Uint8 *mActiveKeys; /**< Stores a list of all the keys */
+ Uint8 *mActiveKeys2; /**< Stores a list of all the keys */
+
KeyToActionMap mKeyToAction;
};