From 44a4573303917496ee9b4107fbe41a5cad142e2d Mon Sep 17 00:00:00 2001 From: Jordan Woyak Date: Sat, 22 Oct 2022 16:13:35 -0500 Subject: ControllerInterface: Add InputBackend interface and SDL implementation. --- .../ControllerInterface/InputBackend.cpp | 24 ++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 Source/Core/InputCommon/ControllerInterface/InputBackend.cpp (limited to 'Source/Core/InputCommon/ControllerInterface/InputBackend.cpp') 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 -- cgit v1.2.3