diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-04-09 23:59:46 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-04-09 23:59:46 +0300 |
commit | 8f3be5cd0544af07c6cb65bef7a1f3ba1a3704bb (patch) | |
tree | 61182aa0154f8477581da0a8950397c65c8e59a6 /src/keyboardconfig.h | |
parent | 21ed1674f5ee382626e80a35dba9d97ec0bc1b92 (diff) | |
download | plus-8f3be5cd0544af07c6cb65bef7a1f3ba1a3704bb.tar.gz plus-8f3be5cd0544af07c6cb65bef7a1f3ba1a3704bb.tar.bz2 plus-8f3be5cd0544af07c6cb65bef7a1f3ba1a3704bb.tar.xz plus-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.h | 6 |
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; }; |