diff options
| author | Pierre Bourdon <delroth@gmail.com> | 2016-07-29 17:43:49 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2016-07-29 17:43:49 +0200 |
| commit | e0cbb9d1ae6f35b4b44a8e1ed99e8a710c36a7d3 (patch) | |
| tree | 7e0fff192b12dbddbf9c39d133ee433662727fa4 /Source/Core/InputCommon/ControllerInterface/Device.h | |
| parent | fc85d8036f1bab0963b3a64278f8e4ea157b6dcf (diff) | |
| parent | 135641404af9c52e433ef28dba4f86fa208f4365 (diff) | |
Merge pull request #3890 from leoetlino/evdev-hotplug
evdev: Add hotplug support
Diffstat (limited to 'Source/Core/InputCommon/ControllerInterface/Device.h')
| -rw-r--r-- | Source/Core/InputCommon/ControllerInterface/Device.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/Core/InputCommon/ControllerInterface/Device.h b/Source/Core/InputCommon/ControllerInterface/Device.h index e3fe4c11cd..657ece5016 100644 --- a/Source/Core/InputCommon/ControllerInterface/Device.h +++ b/Source/Core/InputCommon/ControllerInterface/Device.h @@ -98,6 +98,7 @@ public: virtual std::string GetName() const = 0; virtual std::string GetSource() const = 0; virtual void UpdateInput() {} + virtual bool IsValid() const { return true; } const std::vector<Input*>& Inputs() const { return m_inputs; } const std::vector<Output*>& Outputs() const { return m_outputs; } Input* FindInput(const std::string& name) const; |
