summaryrefslogtreecommitdiff
path: root/Source/Core/InputCommon/ControllerInterface/ControllerInterface.h
diff options
context:
space:
mode:
authorJordan Woyak <jordan.woyak@gmail.com>2022-10-22 16:13:35 -0500
committerJordan Woyak <jordan.woyak@gmail.com>2022-11-01 21:59:08 -0500
commit44a4573303917496ee9b4107fbe41a5cad142e2d (patch)
tree0108e4ad0e8eeb3605e4fca99ae2a124e68d4127 /Source/Core/InputCommon/ControllerInterface/ControllerInterface.h
parentdc046a247014f045c9ba52b0d4110d7a64f321bc (diff)
ControllerInterface: Add InputBackend interface and SDL implementation.
Diffstat (limited to 'Source/Core/InputCommon/ControllerInterface/ControllerInterface.h')
-rw-r--r--Source/Core/InputCommon/ControllerInterface/ControllerInterface.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/Core/InputCommon/ControllerInterface/ControllerInterface.h b/Source/Core/InputCommon/ControllerInterface/ControllerInterface.h
index 3a0276de41..59909aeec8 100644
--- a/Source/Core/InputCommon/ControllerInterface/ControllerInterface.h
+++ b/Source/Core/InputCommon/ControllerInterface/ControllerInterface.h
@@ -12,6 +12,7 @@
#include "Common/Matrix.h"
#include "Common/WindowSystemInfo.h"
#include "InputCommon/ControllerInterface/CoreDevice.h"
+#include "InputCommon/ControllerInterface/InputBackend.h"
// enable disable sources
#ifdef _WIN32
@@ -133,6 +134,8 @@ private:
WindowSystemInfo m_wsi;
std::atomic<float> m_aspect_ratio_adjustment = 1;
std::atomic<bool> m_requested_mouse_centering = false;
+
+ std::vector<std::unique_ptr<ciface::InputBackend>> m_input_backends;
};
namespace ciface