diff options
| author | Dentomologist <dentomologist@gmail.com> | 2023-05-29 16:31:19 -0700 |
|---|---|---|
| committer | Dentomologist <dentomologist@gmail.com> | 2023-06-12 18:11:04 -0700 |
| commit | 527f8e783c915886985ae38b580d33744435de58 (patch) | |
| tree | c20322d6ab1de267610f128352e76f15cf80a53b /Source/Core/InputCommon/ControllerEmu/ControlGroup/AnalogStick.cpp | |
| parent | c8559a79332aa81e4060389d82cd8df885147972 (diff) | |
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.cpp | 4 |
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 |
