ControllerInterface: Add InputBackend interface and SDL implementation.

This commit is contained in:
Jordan Woyak committed 2022-11-01 21:59:08 -05:00
1 parent dc046a2470
commit 44a4573303
8 files changed
+125 -46

No files matched your search

@@ -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