diff --git a/Source/Core/InputCommon/ControllerInterface/CoreDevice.cpp b/Source/Core/InputCommon/ControllerInterface/CoreDevice.cpp index 28b91332cc..541dbdb5dd 100644 --- a/Source/Core/InputCommon/ControllerInterface/CoreDevice.cpp +++ b/Source/Core/InputCommon/ControllerInterface/CoreDevice.cpp @@ -136,6 +136,11 @@ std::string Device::FullAnalogSurface::GetName() const return "Full " + m_high.GetName(); } +bool Device::FullAnalogSurface::IsDetectable() const +{ + return m_low.IsDetectable() && m_high.IsDetectable(); +} + bool Device::FullAnalogSurface::IsMatchingName(std::string_view name) const { if (Control::IsMatchingName(name)) diff --git a/Source/Core/InputCommon/ControllerInterface/CoreDevice.h b/Source/Core/InputCommon/ControllerInterface/CoreDevice.h index 1667b42a00..4ed5866eff 100644 --- a/Source/Core/InputCommon/ControllerInterface/CoreDevice.h +++ b/Source/Core/InputCommon/ControllerInterface/CoreDevice.h @@ -163,6 +163,7 @@ protected: FullAnalogSurface(Input* low, Input* high) : m_low(*low), m_high(*high) {} ControlState GetState() const override; std::string GetName() const override; + bool IsDetectable() const override; bool IsMatchingName(std::string_view name) const override; private: