WiimoteEmu/DolphinQt: Better extension display names.

This commit is contained in:
Jordan Woyak
2019-05-01 17:25:48 -05:00
parent 98b670dd29
commit 99f537d499
10 changed files with 31 additions and 15 deletions

View File

@ -20,6 +20,11 @@ namespace ControllerEmu
{
static std::recursive_mutex s_get_state_mutex;
std::string EmulatedController::GetDisplayName() const
{
return GetName();
}
EmulatedController::~EmulatedController() = default;
// This should be called before calling GetState() or State() on a control reference

View File

@ -28,7 +28,9 @@ class EmulatedController
{
public:
virtual ~EmulatedController();
virtual std::string GetName() const = 0;
virtual std::string GetDisplayName() const;
virtual void LoadDefaults(const ControllerInterface& ciface);