summaryrefslogtreecommitdiff
path: root/src/gui/sdlinput.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-08-23 18:03:05 +0300
committerAndrei Karas <akaras@inbox.ru>2013-08-24 21:08:16 +0300
commitc7f5d0a71d7318ccc4c3f28ab90d688a1a0868b3 (patch)
tree6585eb0acd0afa4f11cd0b87661ce527cabda9ae /src/gui/sdlinput.h
parentb9fe47de21f8c899bfe36f70633a8c8110314d77 (diff)
downloadmanaverse-c7f5d0a71d7318ccc4c3f28ab90d688a1a0868b3.tar.gz
manaverse-c7f5d0a71d7318ccc4c3f28ab90d688a1a0868b3.tar.bz2
manaverse-c7f5d0a71d7318ccc4c3f28ab90d688a1a0868b3.tar.xz
manaverse-c7f5d0a71d7318ccc4c3f28ab90d688a1a0868b3.zip
fix keyboard handling in gui in SDL2.
Diffstat (limited to 'src/gui/sdlinput.h')
-rw-r--r--src/gui/sdlinput.h3
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;