mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2026-03-12 07:04:07 -04:00
ControllerInterface: Make FullAnalogSurface inherit IsDetectable()
This commit is contained in:
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user