summaryrefslogtreecommitdiff
path: root/Source/Core/InputCommon/ControllerEmu/ControlGroup/IMUCursor.cpp
diff options
context:
space:
mode:
authorJosJuice <josjuice@gmail.com>2019-11-15 14:08:45 +0100
committerGitHub <noreply@github.com>2019-11-15 14:08:45 +0100
commitfe39e1e6d8f63fdd936b17aa822ed7167b7297d2 (patch)
tree4c5102b7f0d8cfa3a87ed5ebd1e1cbcb430e5736 /Source/Core/InputCommon/ControllerEmu/ControlGroup/IMUCursor.cpp
parent294fd8dd3a3317b73fe9603402c0604b1fdd1121 (diff)
parentf7a50545e3d6878989886203e202fed4af390f0d (diff)
Merge pull request #8440 from rlnilsen/motion-input-tweaks
Motion Input enhancements
Diffstat (limited to 'Source/Core/InputCommon/ControllerEmu/ControlGroup/IMUCursor.cpp')
-rw-r--r--Source/Core/InputCommon/ControllerEmu/ControlGroup/IMUCursor.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/Core/InputCommon/ControllerEmu/ControlGroup/IMUCursor.cpp b/Source/Core/InputCommon/ControllerEmu/ControlGroup/IMUCursor.cpp
index 7133a07e59..9eedbf0747 100644
--- a/Source/Core/InputCommon/ControllerEmu/ControlGroup/IMUCursor.cpp
+++ b/Source/Core/InputCommon/ControllerEmu/ControlGroup/IMUCursor.cpp
@@ -18,7 +18,8 @@
namespace ControllerEmu
{
IMUCursor::IMUCursor(std::string name, std::string ui_name)
- : ControlGroup(std::move(name), std::move(ui_name), GroupType::IMUCursor)
+ : ControlGroup(std::move(name), std::move(ui_name), GroupType::IMUCursor,
+ ControlGroup::CanBeDisabled::Yes)
{
controls.emplace_back(std::make_unique<Input>(Translate, _trans("Recenter")));