summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-09-11 17:45:24 +0300
committerAndrei Karas <akaras@inbox.ru>2017-09-11 17:45:24 +0300
commitbdbb68730bf78a307f50edd1dcb6244db0455659 (patch)
tree20f6f52f5fe82bf5d1339bc9d9f776c8a1609c22
parentb5a5f804e6beac792370a9aead9f951e67655b65 (diff)
downloadmanaverse-bdbb68730bf78a307f50edd1dcb6244db0455659.tar.gz
manaverse-bdbb68730bf78a307f50edd1dcb6244db0455659.tar.bz2
manaverse-bdbb68730bf78a307f50edd1dcb6244db0455659.tar.xz
manaverse-bdbb68730bf78a307f50edd1dcb6244db0455659.zip
Add default values for input 1 and input 2 actions in SDL 2 build.
-rw-r--r--src/input/inputactionmap.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/input/inputactionmap.h b/src/input/inputactionmap.h
index bd4e7af26..7bdfe7553 100644
--- a/src/input/inputactionmap.h
+++ b/src/input/inputactionmap.h
@@ -2414,7 +2414,7 @@ static const InputActionData inputActionData
Protected_false},
{"keyIgnoreInput1",
#ifdef USE_SDL2
- emptyKey,
+ addKey(SDLK_LGUI),
#else // USE_SDL2
addKey(SDLK_LSUPER),
#endif // USE_SDL2
@@ -2428,7 +2428,7 @@ static const InputActionData inputActionData
Protected_true},
{"keyIgnoreInput2",
#ifdef USE_SDL2
- emptyKey,
+ addKey(SDLK_RGUI),
#else // USE_SDL2
addKey(SDLK_RSUPER),
#endif // USE_SDL2