mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-28 19:58:53 +00:00
ControllerInterface: invoke callbacks in AddDevice/RemoveDevice
Some backends already cause this to happen, so make it consistent across systems.
This commit is contained in:
parent
126b7ea01c
commit
7355b5f70d
6 changed files with 47 additions and 30 deletions
|
@ -79,6 +79,7 @@ public:
|
|||
void SetId(int id) { m_id = id; }
|
||||
virtual std::string GetName() const = 0;
|
||||
virtual std::string GetSource() const = 0;
|
||||
std::string GetQualifiedName() const;
|
||||
virtual void UpdateInput() {}
|
||||
virtual bool IsValid() const { return true; }
|
||||
const std::vector<Input*>& Inputs() const { return m_inputs; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue