mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-11 16:49:12 +01:00
26f17a1723
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.
17 lines
399 B
C++
17 lines
399 B
C++
// Copyright 2017 Dolphin Emulator Project
|
|
// Licensed under GPLv2+
|
|
// Refer to the license.txt file included.
|
|
|
|
#include "InputCommon/ControllerEmu/ControlGroup/Extension.h"
|
|
|
|
#include <string>
|
|
|
|
#include "InputCommon/ControllerEmu/ControllerEmu.h"
|
|
|
|
namespace ControllerEmu
|
|
{
|
|
Extension::Extension(const std::string& name_) : ControlGroup(name_, GroupType::Extension)
|
|
{
|
|
}
|
|
} // namespace ControllerEmu
|