ControllerInterface: enable hotplugging on macOS

This commit is contained in:
Michael Maltese
2016-10-17 23:00:11 -07:00
parent a3d2dead76
commit 7ed8fb95c5
6 changed files with 117 additions and 16 deletions

View File

@ -276,5 +276,10 @@ std::string Joystick::Hat::GetName() const
{
return m_name;
}
bool Joystick::IsSameDevice(const IOHIDDeviceRef other_device) const
{
return m_device == other_device;
}
}
}