diff options
Diffstat (limited to 'Source/Core/InputCommon/ControllerEmu/ControlGroup/IMUCursor.cpp')
| -rw-r--r-- | Source/Core/InputCommon/ControllerEmu/ControlGroup/IMUCursor.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/InputCommon/ControllerEmu/ControlGroup/IMUCursor.cpp b/Source/Core/InputCommon/ControllerEmu/ControlGroup/IMUCursor.cpp index 3e6aecb348..f617adaf6f 100644 --- a/Source/Core/InputCommon/ControllerEmu/ControlGroup/IMUCursor.cpp +++ b/Source/Core/InputCommon/ControllerEmu/ControlGroup/IMUCursor.cpp @@ -20,7 +20,7 @@ IMUCursor::IMUCursor(std::string name, std::string ui_name) : ControlGroup(std::move(name), std::move(ui_name), GroupType::IMUCursor, ControlGroup::CanBeDisabled::Yes) { - controls.emplace_back(std::make_unique<Input>(Translate, _trans("Recenter"))); + AddInput(Translate, _trans("Recenter")); // Default values are optimized for "Super Mario Galaxy 2". // This seems to be acceptable for a good number of games. |
