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

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