summaryrefslogtreecommitdiff
path: root/Source/Core/InputCommon/ControllerEmu/ControlGroup/Cursor.cpp
diff options
context:
space:
mode:
authorTilka <tilkax@gmail.com>2019-02-13 02:13:27 +0000
committerGitHub <noreply@github.com>2019-02-13 02:13:27 +0000
commit131f4931fb9fa26a51525a55e7c57265a9812135 (patch)
tree52e0b3bdbf3a7500f04bc39cee2a0fd99f007966 /Source/Core/InputCommon/ControllerEmu/ControlGroup/Cursor.cpp
parent8d59d1bb11bf594afc6fa3f0a860773c6fa6b8b5 (diff)
parent0064f70c8a17cd40c15486ac385508ce0ee20cf1 (diff)
Merge pull request #7792 from jordan-woyak/auto-calibration
DolphinQt/ControllerEmu: Add stick calibration "wizard".
Diffstat (limited to 'Source/Core/InputCommon/ControllerEmu/ControlGroup/Cursor.cpp')
-rw-r--r--Source/Core/InputCommon/ControllerEmu/ControlGroup/Cursor.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/Source/Core/InputCommon/ControllerEmu/ControlGroup/Cursor.cpp b/Source/Core/InputCommon/ControllerEmu/ControlGroup/Cursor.cpp
index 0af6efc734..fda476aac6 100644
--- a/Source/Core/InputCommon/ControllerEmu/ControlGroup/Cursor.cpp
+++ b/Source/Core/InputCommon/ControllerEmu/ControlGroup/Cursor.cpp
@@ -32,9 +32,6 @@ Cursor::Cursor(const std::string& name_)
controls.emplace_back(std::make_unique<Input>(Translate, _trans("Hide")));
controls.emplace_back(std::make_unique<Input>(Translate, _trans("Recenter")));
- // Default shape is a 1.0 square (no resizing/reshaping):
- AddReshapingSettings(1.0, 0.5, 50);
-
numeric_settings.emplace_back(std::make_unique<NumericSetting>(_trans("Center"), 0.5));
numeric_settings.emplace_back(std::make_unique<NumericSetting>(_trans("Width"), 0.5));
numeric_settings.emplace_back(std::make_unique<NumericSetting>(_trans("Height"), 0.5));
@@ -57,8 +54,6 @@ Cursor::ReshapeData Cursor::GetReshapableState(bool adjusted)
ControlState Cursor::GetGateRadiusAtAngle(double ang) const
{
- // TODO: Change this to 0.5 and adjust the math,
- // so pointer doesn't have to be clamped to the configured width/height?
return SquareStickGate(1.0).GetRadiusAtAngle(ang);
}