summaryrefslogtreecommitdiff
path: root/src/keyboarddata.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-08-22 11:35:54 +0300
committerAndrei Karas <akaras@inbox.ru>2013-08-24 21:08:15 +0300
commit07390a4c8dcde85602c1a91d3773061d67d169ab (patch)
tree2128313bf3f5612d036cc35d71b2867b276b54e2 /src/keyboarddata.h
parent89f6264172de327a53db26cdc15b475ca3c7e62e (diff)
downloadplus-07390a4c8dcde85602c1a91d3773061d67d169ab.tar.gz
plus-07390a4c8dcde85602c1a91d3773061d67d169ab.tar.bz2
plus-07390a4c8dcde85602c1a91d3773061d67d169ab.tar.xz
plus-07390a4c8dcde85602c1a91d3773061d67d169ab.zip
add some more fixes for SDL2 compilation.
Diffstat (limited to 'src/keyboarddata.h')
-rw-r--r--src/keyboarddata.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/keyboarddata.h b/src/keyboarddata.h
index f7a358a8f..79da45049 100644
--- a/src/keyboarddata.h
+++ b/src/keyboarddata.h
@@ -1616,14 +1616,22 @@ static const KeyData keyData[Input::KEY_TOTAL] = {
Input::KEY_NO_VALUE, 50,
COND_DEFAULT},
{"keyIgnoreInput1",
+#ifdef USE_SDL2
+ INPUT_UNKNOWN, Input::KEY_NO_VALUE,
+#else
INPUT_KEYBOARD, SDLK_LSUPER,
+#endif
INPUT_UNKNOWN, Input::KEY_NO_VALUE,
Input::GRP_DEFAULT,
&ActionManager::ignoreInput,
Input::KEY_NO_VALUE, 500,
COND_DEFAULT},
{"keyIgnoreInput2",
+#ifdef USE_SDL2
+ INPUT_UNKNOWN, Input::KEY_NO_VALUE,
+#else
INPUT_KEYBOARD, SDLK_RSUPER,
+#endif
INPUT_UNKNOWN, Input::KEY_NO_VALUE,
Input::GRP_DEFAULT,
&ActionManager::ignoreInput,