diff options
Diffstat (limited to 'Source/Core/InputCommon/ControllerInterface/evdev/evdev.h')
| -rw-r--r-- | Source/Core/InputCommon/ControllerInterface/evdev/evdev.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/Source/Core/InputCommon/ControllerInterface/evdev/evdev.h b/Source/Core/InputCommon/ControllerInterface/evdev/evdev.h index fd497ad8b8..ff5ab8a72a 100644 --- a/Source/Core/InputCommon/ControllerInterface/evdev/evdev.h +++ b/Source/Core/InputCommon/ControllerInterface/evdev/evdev.h @@ -11,9 +11,9 @@ namespace ciface::evdev { -void Init(); -void PopulateDevices(); -void Shutdown(); +class InputBackend; + +std::unique_ptr<ciface::InputBackend> CreateInputBackend(ControllerInterface* controller_interface); class evdevDevice : public Core::Device { @@ -75,6 +75,7 @@ public: void UpdateInput() override; bool IsValid() const override; + evdevDevice(InputBackend* input_backend); ~evdevDevice(); // Return true if node was "interesting". @@ -97,5 +98,7 @@ private: }; std::vector<Node> m_nodes; + + InputBackend& m_input_backend; }; } // namespace ciface::evdev |
