summaryrefslogtreecommitdiff
path: root/Source/Core/InputCommon/ControllerInterface/Xlib/XInput2.h
diff options
context:
space:
mode:
authorTilka <tilkax@gmail.com>2024-04-13 11:56:27 +0100
committerGitHub <noreply@github.com>2024-04-13 11:56:27 +0100
commite62d8ecfa8c104f73c4feafc79f7ff64b4a4fd7b (patch)
treeb9046d845233c8503e6652241617460f5ad4b0ee /Source/Core/InputCommon/ControllerInterface/Xlib/XInput2.h
parent1bfeeb8a631bf3ad3d357b3c920ca8e8a456344e (diff)
parenta9a9fdd9e903d47ec83aa7385e7be54871abbf0b (diff)
Merge pull request #12632 from jordan-woyak/input-backend-impls
Implement missing InputBackend classes.
Diffstat (limited to 'Source/Core/InputCommon/ControllerInterface/Xlib/XInput2.h')
-rw-r--r--Source/Core/InputCommon/ControllerInterface/Xlib/XInput2.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/Core/InputCommon/ControllerInterface/Xlib/XInput2.h b/Source/Core/InputCommon/ControllerInterface/Xlib/XInput2.h
index a8960c1d23..427c81b18a 100644
--- a/Source/Core/InputCommon/ControllerInterface/Xlib/XInput2.h
+++ b/Source/Core/InputCommon/ControllerInterface/Xlib/XInput2.h
@@ -16,10 +16,11 @@ extern "C" {
#include "Common/CommonTypes.h"
#include "Common/Matrix.h"
#include "InputCommon/ControllerInterface/ControllerInterface.h"
+#include "InputCommon/ControllerInterface/InputBackend.h"
namespace ciface::XInput2
{
-void PopulateDevices(void* const hwnd);
+std::unique_ptr<ciface::InputBackend> CreateInputBackend(ControllerInterface* controller_interface);
class KeyboardMouse : public Core::Device
{