diff options
| author | Lioncash <mathew1800@gmail.com> | 2017-02-25 00:35:02 -0500 |
|---|---|---|
| committer | Lioncash <mathew1800@gmail.com> | 2017-02-25 01:15:04 -0500 |
| commit | 26f17a172353098740d97cce531f4c7c06abd4e4 (patch) | |
| tree | cf488dab1c5371856cb73af2753854ab15fa4c8f /Source/Core/InputCommon/ControllerEmu/ControlGroup/Cursor.cpp | |
| parent | 51136681dfa77c88f548d187c9c7954f0ad6ac32 (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/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 1d0c55a8d5..bede6f1899 100644 --- a/Source/Core/InputCommon/ControllerEmu/ControlGroup/Cursor.cpp +++ b/Source/Core/InputCommon/ControllerEmu/ControlGroup/Cursor.cpp @@ -19,7 +19,7 @@ namespace ControllerEmu { -Cursor::Cursor(const std::string& name_) : ControlGroup(name_, GROUP_TYPE_CURSOR) +Cursor::Cursor(const std::string& name_) : ControlGroup(name_, GroupType::Cursor) { for (auto& named_direction : named_directions) controls.emplace_back(std::make_unique<Input>(named_direction)); |
