mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-06-13 00:58:29 +02:00
ControllerInterface: Add InputBackend interface and SDL implementation.
This commit is contained in:
24
Source/Core/InputCommon/ControllerInterface/InputBackend.cpp
Normal file
24
Source/Core/InputCommon/ControllerInterface/InputBackend.cpp
Normal file
@ -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
|
Reference in New Issue
Block a user