diff options
| author | rlnilsen <47765059+rlnilsen@users.noreply.github.com> | 2019-10-29 15:56:36 +0100 |
|---|---|---|
| committer | rlnilsen <47765059+rlnilsen@users.noreply.github.com> | 2019-11-03 11:56:01 +0100 |
| commit | f7a50545e3d6878989886203e202fed4af390f0d (patch) | |
| tree | c9c4b13c18f34e8bc5c044a2356e65607f1876ff /Source/Core/InputCommon/ControllerEmu/ControlGroup/IMUCursor.cpp | |
| parent | d67a2304b0f542e21f680265da80efef3e0a83d9 (diff) | |
Motion Input: Add "enable" checkbox for motion controlled cursor.
Diffstat (limited to 'Source/Core/InputCommon/ControllerEmu/ControlGroup/IMUCursor.cpp')
| -rw-r--r-- | Source/Core/InputCommon/ControllerEmu/ControlGroup/IMUCursor.cpp | 3 |
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"))); |
