summaryrefslogtreecommitdiff
path: root/Source/Core/InputCommon/ControllerEmu/ControlGroup/Buttons.cpp
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2017-02-25 00:35:02 -0500
committerLioncash <mathew1800@gmail.com>2017-02-25 01:15:04 -0500
commit26f17a172353098740d97cce531f4c7c06abd4e4 (patch)
treecf488dab1c5371856cb73af2753854ab15fa4c8f /Source/Core/InputCommon/ControllerEmu/ControlGroup/Buttons.cpp
parent51136681dfa77c88f548d187c9c7954f0ad6ac32 (diff)
ControlGroup: Convert group type enum into an enum class
Gets some constants out of the ControllerEmu namespace, and modifies ControlGroup so that it uses the enum type itself to represent the underlying type, rather than a u32 value.
Diffstat (limited to 'Source/Core/InputCommon/ControllerEmu/ControlGroup/Buttons.cpp')
-rw-r--r--Source/Core/InputCommon/ControllerEmu/ControlGroup/Buttons.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/InputCommon/ControllerEmu/ControlGroup/Buttons.cpp b/Source/Core/InputCommon/ControllerEmu/ControlGroup/Buttons.cpp
index ef3ca79a0f..5a86839380 100644
--- a/Source/Core/InputCommon/ControllerEmu/ControlGroup/Buttons.cpp
+++ b/Source/Core/InputCommon/ControllerEmu/ControlGroup/Buttons.cpp
@@ -16,7 +16,7 @@ Buttons::Buttons(const std::string& name_) : Buttons(name_, name_)
}
Buttons::Buttons(const std::string& ini_name, const std::string& group_name)
- : ControlGroup(ini_name, group_name, GROUP_TYPE_BUTTONS)
+ : ControlGroup(ini_name, group_name, GroupType::Buttons)
{
numeric_settings.emplace_back(std::make_unique<NumericSetting>(_trans("Threshold"), 0.5));
}