summaryrefslogtreecommitdiff
path: root/Source/Core/InputCommon/ControllerInterface/CoreDevice.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Source/Core/InputCommon/ControllerInterface/CoreDevice.cpp')
-rw-r--r--Source/Core/InputCommon/ControllerInterface/CoreDevice.cpp5
1 files changed, 5 insertions, 0 deletions
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))