From 8f3be5cd0544af07c6cb65bef7a1f3ba1a3704bb Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 9 Apr 2012 23:59:46 +0300 Subject: Fix asigning keys unknown for SDL. Allow full use of keys unknown for SDL (with press state also). --- src/keyboardconfig.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/keyboardconfig.h') 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; }; -- cgit v1.2.3-60-g2f50