summaryrefslogtreecommitdiff
path: root/Source/Core/InputCommon/ControllerEmu/StickGate.cpp
diff options
context:
space:
mode:
authorJordan Woyak <jordan.woyak@gmail.com>2025-01-20 23:19:56 -0600
committerJordan Woyak <jordan.woyak@gmail.com>2025-03-15 14:30:43 -0500
commitddb82a5e8ca84df1b95942c8b3a1fa6c9071010b (patch)
tree996de0475d813c192e64a0f3d6004181cdf54b8e /Source/Core/InputCommon/ControllerEmu/StickGate.cpp
parent225039f742d14eacd704490bb1a66dc119a91320 (diff)
InputCommon/ControllerEmu: Break out functionality of EmulatedController
to eliminate redundant unused members in Wii Remote extension objects.
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 + '/');