diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-08-23 18:03:05 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-08-24 21:08:16 +0300 |
commit | c7f5d0a71d7318ccc4c3f28ab90d688a1a0868b3 (patch) | |
tree | 6585eb0acd0afa4f11cd0b87661ce527cabda9ae /src/gui/sdlinput.h | |
parent | b9fe47de21f8c899bfe36f70633a8c8110314d77 (diff) | |
download | manaplus-c7f5d0a71d7318ccc4c3f28ab90d688a1a0868b3.tar.gz manaplus-c7f5d0a71d7318ccc4c3f28ab90d688a1a0868b3.tar.bz2 manaplus-c7f5d0a71d7318ccc4c3f28ab90d688a1a0868b3.tar.xz manaplus-c7f5d0a71d7318ccc4c3f28ab90d688a1a0868b3.zip |
fix keyboard handling in gui in SDL2.
Diffstat (limited to 'src/gui/sdlinput.h')
-rw-r--r-- | src/gui/sdlinput.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gui/sdlinput.h b/src/gui/sdlinput.h index aa02e9554..cbe5863ed 100644 --- a/src/gui/sdlinput.h +++ b/src/gui/sdlinput.h @@ -189,6 +189,9 @@ protected: */ static int convertKeyCharacter(const SDL_Event &event) A_WARN_UNUSED; + static void convertKeyEventToKey(const SDL_Event &event, + KeyInput &keyInput); + std::queue<KeyInput> mKeyInputQueue; std::queue<MouseInput> mMouseInputQueue; |