summaryrefslogtreecommitdiff
path: root/Source/Core/InputCommon/ControllerEmu/ControlGroup/Slider.cpp
diff options
context:
space:
mode:
authorFiloppi <filippotarpini@hotmail.it>2021-05-04 23:47:55 +0300
committerFiloppi <filippotarpini@hotmail.it>2021-05-10 23:48:10 +0300
commita261e61e9e3941d10cf0ef3adf8eac00f722b6db (patch)
treea8bb275ee45fdd65708550088919ca21de1a05a9 /Source/Core/InputCommon/ControllerEmu/ControlGroup/Slider.cpp
parentd586163e38acbd93d3568bb209756b56bb712c81 (diff)
InputCommon: add a ton of missing consts
fix some related grammar errors only the ButtonManager required code changes
Diffstat (limited to 'Source/Core/InputCommon/ControllerEmu/ControlGroup/Slider.cpp')
-rw-r--r--Source/Core/InputCommon/ControllerEmu/ControlGroup/Slider.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/InputCommon/ControllerEmu/ControlGroup/Slider.cpp b/Source/Core/InputCommon/ControllerEmu/ControlGroup/Slider.cpp
index bd70c64b53..d8aeea4eee 100644
--- a/Source/Core/InputCommon/ControllerEmu/ControlGroup/Slider.cpp
+++ b/Source/Core/InputCommon/ControllerEmu/ControlGroup/Slider.cpp
@@ -29,7 +29,7 @@ Slider::Slider(const std::string& name_) : Slider(name_, name_)
{
}
-Slider::StateData Slider::GetState()
+Slider::StateData Slider::GetState() const
{
const ControlState deadzone = m_deadzone_setting.GetValue() / 100;
const ControlState state = controls[1]->GetState() - controls[0]->GetState();