summaryrefslogtreecommitdiff
path: root/Source/Core/InputCommon/ControllerEmu/ControlGroup/ModifySettingsButton.h
diff options
context:
space:
mode:
authorFiloppi <filippotarpini@hotmail.it>2021-05-04 23:48:55 +0300
committerFiloppi <filippotarpini@hotmail.it>2021-05-10 23:48:10 +0300
commite9e41b925b6efeac4d3eadf049391ef81483528f (patch)
tree5e92c89e89030b03a57a4b1911813c204f174e59 /Source/Core/InputCommon/ControllerEmu/ControlGroup/ModifySettingsButton.h
parenta261e61e9e3941d10cf0ef3adf8eac00f722b6db (diff)
InputCommon: follow coding conventions and rename GetState() to UpdateState()
And remove useless include
Diffstat (limited to 'Source/Core/InputCommon/ControllerEmu/ControlGroup/ModifySettingsButton.h')
-rw-r--r--Source/Core/InputCommon/ControllerEmu/ControlGroup/ModifySettingsButton.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/Source/Core/InputCommon/ControllerEmu/ControlGroup/ModifySettingsButton.h b/Source/Core/InputCommon/ControllerEmu/ControlGroup/ModifySettingsButton.h
index 667f3e5c7a..b060aa0caa 100644
--- a/Source/Core/InputCommon/ControllerEmu/ControlGroup/ModifySettingsButton.h
+++ b/Source/Core/InputCommon/ControllerEmu/ControlGroup/ModifySettingsButton.h
@@ -18,14 +18,14 @@ public:
void AddInput(std::string button_name, bool toggle = false);
- void GetState();
+ void UpdateState();
- const std::vector<bool>& isSettingToggled() const;
- const std::vector<bool>& getSettingsModifier() const;
+ const std::vector<bool>& IsSettingToggled() const;
+ const std::vector<bool>& GetSettingsModifier() const;
private:
- std::vector<bool> threshold_exceeded; // internal calculation (if "state" was above threshold)
- std::vector<bool> associated_settings_toggle; // is setting toggled or hold?
- std::vector<bool> associated_settings; // result
+ std::vector<bool> m_threshold_exceeded; // internal calculation (if "state" was above threshold)
+ std::vector<bool> m_associated_settings_toggle; // is setting toggled or hold?
+ std::vector<bool> m_associated_settings; // result
};
} // namespace ControllerEmu