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:
@ -68,6 +68,8 @@ public:
|
||||
std::string GetName() const override;
|
||||
std::string GetSource() const override;
|
||||
|
||||
bool IsValid() const final override;
|
||||
|
||||
private:
|
||||
const LPDIRECTINPUTDEVICE8 m_device;
|
||||
|
||||
@ -75,5 +77,5 @@ private:
|
||||
|
||||
bool m_buffered;
|
||||
};
|
||||
}
|
||||
}
|
||||
} // namespace DInput
|
||||
} // namespace ciface
|
||||
|
Reference in New Issue
Block a user