diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-09-11 17:45:24 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-09-11 17:45:24 +0300 |
commit | bdbb68730bf78a307f50edd1dcb6244db0455659 (patch) | |
tree | 20f6f52f5fe82bf5d1339bc9d9f776c8a1609c22 /src | |
parent | b5a5f804e6beac792370a9aead9f951e67655b65 (diff) | |
download | manaverse-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.
Diffstat (limited to 'src')
-rw-r--r-- | src/input/inputactionmap.h | 4 |
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 |