mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-04-27 06:48:33 +00:00
ControllerInterface/Win32: Prevent devcies from losing their "id" on a hotplug event.
This commit is contained in:
parent
d26c1ce24d
commit
eadbdd6bc3
10 changed files with 121 additions and 39 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue