diff options
Diffstat (limited to 'Source/Core/InputCommon/ControllerInterface/InputBackend.h')
| -rw-r--r-- | Source/Core/InputCommon/ControllerInterface/InputBackend.h | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/Source/Core/InputCommon/ControllerInterface/InputBackend.h b/Source/Core/InputCommon/ControllerInterface/InputBackend.h new file mode 100644 index 0000000000..653bc16df1 --- /dev/null +++ b/Source/Core/InputCommon/ControllerInterface/InputBackend.h @@ -0,0 +1,26 @@ +// Copyright 2022 Dolphin Emulator Project +// SPDX-License-Identifier: GPL-2.0-or-later + +#pragma once + +class ControllerInterface; + +namespace ciface +{ +class InputBackend +{ +public: + InputBackend(ControllerInterface* controller_interface); + + virtual ~InputBackend(); + + virtual void PopulateDevices() = 0; + virtual void UpdateInput(); + + ControllerInterface& GetControllerInterface(); + +private: + ControllerInterface& m_controller_interface; +}; + +} // namespace ciface |
