summaryrefslogtreecommitdiff
path: root/Source/Core/InputCommon/ControllerInterface/InputBackend.cpp
diff options
context:
space:
mode:
authorAdmiral H. Curtiss <pikachu025@gmail.com>2022-11-03 04:42:05 +0100
committerGitHub <noreply@github.com>2022-11-03 04:42:05 +0100
commit1d07332657719a1a86290bf4e138ac7972ad2409 (patch)
treef5470086989a70aa0d5f82905ceec2b489999ccd /Source/Core/InputCommon/ControllerInterface/InputBackend.cpp
parent0210d115c22a1c5745c76eaefe38b5d0af3247f9 (diff)
parent168a49c87ffbd05512c20db9735b3cb92afac93b (diff)
Merge pull request #11193 from jordan-woyak/ciface-input-backend-interface
ControllerInterface: Add InputBackend interface.
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