summaryrefslogtreecommitdiff
path: root/src/input/inputactionmap.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-09-23 22:01:44 +0300
committerAndrei Karas <akaras@inbox.ru>2016-09-23 22:01:44 +0300
commit3c404128c4669a1f4f190e20a89553677717fc50 (patch)
tree2db4e5031089c800c4e00fd6244e578f44a7c910 /src/input/inputactionmap.h
parent89b267d6d73bbc59f7c313b8a22b97fbb27f99a8 (diff)
downloadmanaplus-3c404128c4669a1f4f190e20a89553677717fc50.tar.gz
manaplus-3c404128c4669a1f4f190e20a89553677717fc50.tar.bz2
manaplus-3c404128c4669a1f4f190e20a89553677717fc50.tar.xz
manaplus-3c404128c4669a1f4f190e20a89553677717fc50.zip
Add missing comments into defines.
Diffstat (limited to 'src/input/inputactionmap.h')
-rw-r--r--src/input/inputactionmap.h24
1 files changed, 12 insertions, 12 deletions
diff --git a/src/input/inputactionmap.h b/src/input/inputactionmap.h
index 85595d43b..44cc82845 100644
--- a/src/input/inputactionmap.h
+++ b/src/input/inputactionmap.h
@@ -316,9 +316,9 @@ static const InputActionData inputActionData
addKey(SDLK_ESCAPE),
#if defined(USE_SDL2) && defined(ANDROID)
addKey(SDLK_AC_BACK),
-#else
+#else // defined(USE_SDL2) && defined(ANDROID)
emptyKey,
-#endif
+#endif // defined(USE_SDL2) && defined(ANDROID)
Input::GRP_DEFAULT,
&Actions::quit,
InputAction::NO_VALUE, 50,
@@ -2311,9 +2311,9 @@ static const InputActionData inputActionData
{"keyIgnoreInput1",
#ifdef USE_SDL2
emptyKey,
-#else
+#else // USE_SDL2
addKey(SDLK_LSUPER),
-#endif
+#endif // USE_SDL2
emptyKey,
Input::GRP_DEFAULT,
&Actions::ignoreInput,
@@ -2325,9 +2325,9 @@ static const InputActionData inputActionData
{"keyIgnoreInput2",
#ifdef USE_SDL2
emptyKey,
-#else
+#else // USE_SDL2
addKey(SDLK_RSUPER),
-#endif
+#endif // USE_SDL2
emptyKey,
Input::GRP_DEFAULT,
&Actions::ignoreInput,
@@ -2637,9 +2637,9 @@ static const InputActionData inputActionData
addKey(SDLK_ESCAPE),
#if defined(USE_SDL2) && defined(ANDROID)
addKey(SDLK_AC_BACK),
-#else
+#else // defined(USE_SDL2) && defined(ANDROID)
emptyKey,
-#endif
+#endif // defined(USE_SDL2) && defined(ANDROID)
Input::GRP_GUICHAN,
nullptr,
InputAction::NO_VALUE, 50,
@@ -3503,16 +3503,16 @@ static const InputActionData inputActionData
Input::GRP_DEFAULT,
#if defined USE_OPENGL && defined DEBUG_SDLFONT
&Actions::testSdlFont,
-#else
+#else // defined USE_OPENGL && defined DEBUG_SDLFONT
nullptr,
-#endif
+#endif // defined USE_OPENGL && defined DEBUG_SDLFONT
InputAction::NO_VALUE, 50,
InputCondition::INGAME,
#if defined USE_OPENGL && defined DEBUG_SDLFONT
"testsdlfont",
-#else
+#else // defined USE_OPENGL && defined DEBUG_SDLFONT
"",
-#endif
+#endif // defined USE_OPENGL && defined DEBUG_SDLFONT
UseArgs_false,
Protected_true},
{"keyEnableHightlight",