summaryrefslogtreecommitdiff
path: root/Source/Core/InputCommon/ControllerEmu/ControlGroup/AnalogStick.cpp
diff options
context:
space:
mode:
authorAdmiral H. Curtiss <pikachu025@gmail.com>2023-06-14 13:27:47 +0200
committerGitHub <noreply@github.com>2023-06-14 13:27:47 +0200
commit88ff00a05c697a00b55a3e03c2bf0e88455c7a21 (patch)
tree692b77f1d71ba328503b01430fa577fb7bc6581d /Source/Core/InputCommon/ControllerEmu/ControlGroup/AnalogStick.cpp
parent79073c1a409fcaaeeb074f09478e02df9ab1f70f (diff)
parent527f8e783c915886985ae38b580d33744435de58 (diff)
Merge pull request #11942 from Dentomologist/convert_controlleremu_translatability_to_enum_class
ControllerEmu: Convert Translatability to enum class
Diffstat (limited to 'Source/Core/InputCommon/ControllerEmu/ControlGroup/AnalogStick.cpp')
-rw-r--r--Source/Core/InputCommon/ControllerEmu/ControlGroup/AnalogStick.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/Core/InputCommon/ControllerEmu/ControlGroup/AnalogStick.cpp b/Source/Core/InputCommon/ControllerEmu/ControlGroup/AnalogStick.cpp
index 0f30b50f63..c26f143f1c 100644
--- a/Source/Core/InputCommon/ControllerEmu/ControlGroup/AnalogStick.cpp
+++ b/Source/Core/InputCommon/ControllerEmu/ControlGroup/AnalogStick.cpp
@@ -27,9 +27,9 @@ AnalogStick::AnalogStick(const char* const name_, const char* const ui_name_,
: ReshapableInput(name_, ui_name_, GroupType::Stick), m_stick_gate(std::move(stick_gate))
{
for (auto& named_direction : named_directions)
- AddInput(Translate, named_direction);
+ AddInput(Translatability::Translate, named_direction);
- AddInput(Translate, _trans("Modifier"));
+ AddInput(Translatability::Translate, _trans("Modifier"));
}
AnalogStick::ReshapeData AnalogStick::GetReshapableState(bool adjusted) const