summaryrefslogtreecommitdiff
path: root/Source/Core/InputCommon/ControllerInterface/InputBackend.cpp
diff options
context:
space:
mode:
authorJordan Woyak <jordan.woyak@gmail.com>2022-10-22 16:13:35 -0500
committerJordan Woyak <jordan.woyak@gmail.com>2022-11-01 21:59:08 -0500
commit44a4573303917496ee9b4107fbe41a5cad142e2d (patch)
tree0108e4ad0e8eeb3605e4fca99ae2a124e68d4127 /Source/Core/InputCommon/ControllerInterface/InputBackend.cpp
parentdc046a247014f045c9ba52b0d4110d7a64f321bc (diff)
ControllerInterface: Add InputBackend interface and SDL implementation.
Diffstat (limited to 'Source/Core/InputCommon/ControllerInterface/InputBackend.cpp')
-rw-r--r--Source/Core/InputCommon/ControllerInterface/InputBackend.cpp24
1 files changed, 24 insertions, 0 deletions
diff --git a/Source/Core/InputCommon/ControllerInterface/InputBackend.cpp b/Source/Core/InputCommon/ControllerInterface/InputBackend.cpp
new file mode 100644
index 0000000000..91685eea00
--- /dev/null
+++ b/Source/Core/InputCommon/ControllerInterface/InputBackend.cpp
@@ -0,0 +1,24 @@
+// Copyright 2022 Dolphin Emulator Project
+// SPDX-License-Identifier: GPL-2.0-or-later
+
+#include "InputCommon/ControllerInterface/InputBackend.h"
+
+namespace ciface
+{
+InputBackend::InputBackend(ControllerInterface* controller_interface)
+ : m_controller_interface(*controller_interface)
+{
+}
+
+InputBackend::~InputBackend() = default;
+
+void InputBackend::UpdateInput()
+{
+}
+
+ControllerInterface& InputBackend::GetControllerInterface()
+{
+ return m_controller_interface;
+}
+
+} // namespace ciface