mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-06-11 16:49:28 +02: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