mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-21 05:09:34 -06:00
InputCommon: follow coding conventions and rename GetState() to UpdateState()
And remove useless include
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user