From b336adc59f3f65ef5c1fe7062e892fbd732cdec5 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 28 Dec 2014 18:38:20 +0300 Subject: Allow assign keys to pet direction actions. --- src/input/pages/other.cpp | 50 +++++++++++++++++++++++++++++++++++++++++++---- 1 file changed, 46 insertions(+), 4 deletions(-) (limited to 'src') diff --git a/src/input/pages/other.cpp b/src/input/pages/other.cpp index 4077b13bc..d91bcdd59 100644 --- a/src/input/pages/other.cpp +++ b/src/input/pages/other.cpp @@ -31,6 +31,12 @@ SetupActionData setupActionDataOther[] = { + { + // TRANSLATORS: input action name + N_("Input ignore"), + InputAction::NO_VALUE, + "", + }, { // TRANSLATORS: input action name N_("Ignore input 1"), @@ -45,28 +51,64 @@ SetupActionData setupActionDataOther[] = }, { // TRANSLATORS: input action name - N_("Direct Up"), + N_("Direction keys"), + InputAction::NO_VALUE, + "", + }, + { + // TRANSLATORS: input action name + N_("Player direct up"), InputAction::DIRECT_UP, "", }, { // TRANSLATORS: input action name - N_("Direct Down"), + N_("Player direct down"), InputAction::DIRECT_DOWN, "", }, { // TRANSLATORS: input action name - N_("Direct Left"), + N_("Player direct left"), InputAction::DIRECT_LEFT, "", }, { // TRANSLATORS: input action name - N_("Direct Right"), + N_("Player direct right"), InputAction::DIRECT_RIGHT, "", }, + { + // TRANSLATORS: input action name + N_("Pet direct up"), + InputAction::PET_DIRECT_UP, + "", + }, + { + // TRANSLATORS: input action name + N_("Pet direct down"), + InputAction::PET_DIRECT_DOWN, + "", + }, + { + // TRANSLATORS: input action name + N_("Pet direct left"), + InputAction::PET_DIRECT_LEFT, + "", + }, + { + // TRANSLATORS: input action name + N_("Pet direct right"), + InputAction::PET_DIRECT_RIGHT, + "", + }, + { + // TRANSLATORS: input action name + N_("Other"), + InputAction::NO_VALUE, + "", + }, { // TRANSLATORS: input action name N_("Crazy moves"), -- cgit v1.2.3-70-g09d2