diff options
Diffstat (limited to 'src/input')
-rw-r--r-- | src/input/inputaction.h | 4 | ||||
-rw-r--r-- | src/input/inputactionmap.h | 36 |
2 files changed, 40 insertions, 0 deletions
diff --git a/src/input/inputaction.h b/src/input/inputaction.h index 67ac8f446..67bf95161 100644 --- a/src/input/inputaction.h +++ b/src/input/inputaction.h @@ -520,6 +520,10 @@ namespace InputAction PET_MOVE_DOWN, PET_MOVE_LEFT, PET_MOVE_RIGHT, + PET_DIRECT_UP, + PET_DIRECT_DOWN, + PET_DIRECT_LEFT, + PET_DIRECT_RIGHT, TOTAL }; } // namespace InputAction diff --git a/src/input/inputactionmap.h b/src/input/inputactionmap.h index 4dc84bb71..c5d9d9d76 100644 --- a/src/input/inputactionmap.h +++ b/src/input/inputactionmap.h @@ -4424,6 +4424,42 @@ static const InputActionData inputActionData[InputAction::TOTAL] = { InputCondition::INGAME, "petmoveright|moverightpet", false}, + {"keyPetDirectUp", + InputType::UNKNOWN, InputAction::NO_VALUE, + InputType::UNKNOWN, InputAction::NO_VALUE, + Input::GRP_DEFAULT, + &Actions::petDirectUp, + InputAction::NO_VALUE, 50, + InputCondition::INGAME, + "petdirectup|directuppet", + false}, + {"keyPetDirectDown", + InputType::UNKNOWN, InputAction::NO_VALUE, + InputType::UNKNOWN, InputAction::NO_VALUE, + Input::GRP_DEFAULT, + &Actions::petDirectDown, + InputAction::NO_VALUE, 50, + InputCondition::INGAME, + "petdirectdown|directdownpet", + false}, + {"keyPetDirectLeft", + InputType::UNKNOWN, InputAction::NO_VALUE, + InputType::UNKNOWN, InputAction::NO_VALUE, + Input::GRP_DEFAULT, + &Actions::petDirectLeft, + InputAction::NO_VALUE, 50, + InputCondition::INGAME, + "petdirectleft|directleftpet", + false}, + {"keyPetDirectRight", + InputType::UNKNOWN, InputAction::NO_VALUE, + InputType::UNKNOWN, InputAction::NO_VALUE, + Input::GRP_DEFAULT, + &Actions::petDirectRight, + InputAction::NO_VALUE, 50, + InputCondition::INGAME, + "petdirectright|directrightpet", + false}, }; #endif // INPUT_INPUTACTIONMAP_H |