summaryrefslogtreecommitdiff
path: root/Source/Core/InputCommon/ControllerEmu/StickGate.cpp
diff options
context:
space:
mode:
authorJMC47 <JMC4789@gmail.com>2025-03-23 15:12:06 -0400
committerGitHub <noreply@github.com>2025-03-23 15:12:06 -0400
commite93f0de8a4bcf9f201347fba21a12960ffa3c15f (patch)
treed266cdfbe7b79ea88f8515095fd3b4754cc2b398 /Source/Core/InputCommon/ControllerEmu/StickGate.cpp
parent18979129f35f56de9f87e2a7919788679337abfa (diff)
parentddb82a5e8ca84df1b95942c8b3a1fa6c9071010b (diff)
Merge pull request #13295 from jordan-woyak/controller-emu-cleanup
InputCommon/ControllerEmu: Break out functionality of EmulatedController to eliminate redundant members.
Diffstat (limited to 'Source/Core/InputCommon/ControllerEmu/StickGate.cpp')
-rw-r--r--Source/Core/InputCommon/ControllerEmu/StickGate.cpp11
1 files changed, 4 insertions, 7 deletions
diff --git a/Source/Core/InputCommon/ControllerEmu/StickGate.cpp b/Source/Core/InputCommon/ControllerEmu/StickGate.cpp
index 2c82788b99..c1e8a29b2d 100644
--- a/Source/Core/InputCommon/ControllerEmu/StickGate.cpp
+++ b/Source/Core/InputCommon/ControllerEmu/StickGate.cpp
@@ -10,7 +10,6 @@
#include <fmt/format.h>
#include <fmt/ranges.h>
-#include "Common/Common.h"
#include "Common/MathUtil.h"
#include "Common/Matrix.h"
#include "Common/StringUtil.h"
@@ -228,10 +227,9 @@ void ReshapableInput::SetCenter(ReshapableInput::ReshapeData center)
m_center = center;
}
-void ReshapableInput::LoadConfig(Common::IniFile::Section* section,
- const std::string& default_device, const std::string& base_name)
+void ReshapableInput::LoadConfig(Common::IniFile::Section* section, const std::string& base_name)
{
- ControlGroup::LoadConfig(section, default_device, base_name);
+ ControlGroup::LoadConfig(section, base_name);
const std::string group(base_name + name + '/');
@@ -271,10 +269,9 @@ void ReshapableInput::LoadConfig(Common::IniFile::Section* section,
}
}
-void ReshapableInput::SaveConfig(Common::IniFile::Section* section,
- const std::string& default_device, const std::string& base_name)
+void ReshapableInput::SaveConfig(Common::IniFile::Section* section, const std::string& base_name)
{
- ControlGroup::SaveConfig(section, default_device, base_name);
+ ControlGroup::SaveConfig(section, base_name);
const std::string group(base_name + name + '/');