summaryrefslogtreecommitdiff
path: root/Source/Core/InputCommon/ControllerEmu/ControlGroup/Cursor.cpp
diff options
context:
space:
mode:
authorJosJuice <josjuice@gmail.com>2018-04-10 17:22:30 +0200
committerJosJuice <josjuice@gmail.com>2018-04-13 13:04:26 +0200
commit7ed28297b237779f0e4b6d7045cd27e10a8cfb0e (patch)
treebca5d06f1fddf59b5e8b9f38af7f745b40f3beb9 /Source/Core/InputCommon/ControllerEmu/ControlGroup/Cursor.cpp
parent3f13dbe0878523b65d158efddc3eff37d59ca3a2 (diff)
ControllerEmu: Use enum instead of bool for translatability
Diffstat (limited to 'Source/Core/InputCommon/ControllerEmu/ControlGroup/Cursor.cpp')
-rw-r--r--Source/Core/InputCommon/ControllerEmu/ControlGroup/Cursor.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/Source/Core/InputCommon/ControllerEmu/ControlGroup/Cursor.cpp b/Source/Core/InputCommon/ControllerEmu/ControlGroup/Cursor.cpp
index 2ee8e146f4..a300a249f7 100644
--- a/Source/Core/InputCommon/ControllerEmu/ControlGroup/Cursor.cpp
+++ b/Source/Core/InputCommon/ControllerEmu/ControlGroup/Cursor.cpp
@@ -24,12 +24,12 @@ namespace ControllerEmu
Cursor::Cursor(const std::string& name_) : ControlGroup(name_, GroupType::Cursor)
{
for (auto& named_direction : named_directions)
- controls.emplace_back(std::make_unique<Input>(true, named_direction));
+ controls.emplace_back(std::make_unique<Input>(Translate, named_direction));
- controls.emplace_back(std::make_unique<Input>(true, _trans("Forward")));
- controls.emplace_back(std::make_unique<Input>(true, _trans("Backward")));
- controls.emplace_back(std::make_unique<Input>(true, _trans("Hide")));
- controls.emplace_back(std::make_unique<Input>(true, _trans("Recenter")));
+ controls.emplace_back(std::make_unique<Input>(Translate, _trans("Forward")));
+ controls.emplace_back(std::make_unique<Input>(Translate, _trans("Backward")));
+ controls.emplace_back(std::make_unique<Input>(Translate, _trans("Hide")));
+ controls.emplace_back(std::make_unique<Input>(Translate, _trans("Recenter")));
numeric_settings.emplace_back(std::make_unique<NumericSetting>(_trans("Center"), 0.5));
numeric_settings.emplace_back(std::make_unique<NumericSetting>(_trans("Width"), 0.5));