mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-06-11 16:49:28 +02:00
ControllerInterface/Win32: Prevent devcies from losing their "id" on a hotplug event.
This commit is contained in:
@ -31,6 +31,11 @@ Device::~Device()
|
||||
delete output;
|
||||
}
|
||||
|
||||
std::optional<int> Device::GetPreferredId() const
|
||||
{
|
||||
return {};
|
||||
}
|
||||
|
||||
void Device::AddInput(Device::Input* const i)
|
||||
{
|
||||
m_inputs.push_back(i);
|
||||
|
Reference in New Issue
Block a user