diff options
| author | Filoppi <filippotarpini@hotmail.it> | 2021-05-04 23:47:55 +0300 |
|---|---|---|
| committer | Filoppi <filippotarpini@hotmail.it> | 2021-05-10 23:48:10 +0300 |
| commit | a261e61e9e3941d10cf0ef3adf8eac00f722b6db (patch) | |
| tree | a8bb275ee45fdd65708550088919ca21de1a05a9 /Source/Core/InputCommon/ControllerEmu/ControlGroup/Cursor.cpp | |
| parent | d586163e38acbd93d3568bb209756b56bb712c81 (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/Cursor.cpp')
| -rw-r--r-- | Source/Core/InputCommon/ControllerEmu/ControlGroup/Cursor.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/InputCommon/ControllerEmu/ControlGroup/Cursor.cpp b/Source/Core/InputCommon/ControllerEmu/ControlGroup/Cursor.cpp index fa379624db..4dbb5a11ed 100644 --- a/Source/Core/InputCommon/ControllerEmu/ControlGroup/Cursor.cpp +++ b/Source/Core/InputCommon/ControllerEmu/ControlGroup/Cursor.cpp @@ -64,7 +64,7 @@ Cursor::Cursor(std::string name_, std::string ui_name_) AddSetting(&m_autohide_setting, {_trans("Auto-Hide")}, false); } -Cursor::ReshapeData Cursor::GetReshapableState(bool adjusted) +Cursor::ReshapeData Cursor::GetReshapableState(bool adjusted) const { const ControlState y = controls[0]->GetState() - controls[1]->GetState(); const ControlState x = controls[3]->GetState() - controls[2]->GetState(); |
