diff options
| author | Jordan Woyak <jordan.woyak@gmail.com> | 2024-03-11 01:42:32 -0500 |
|---|---|---|
| committer | Jordan Woyak <jordan.woyak@gmail.com> | 2024-03-11 03:05:52 -0500 |
| commit | 8098be3dfa07aa529f61ea2ec4ff4077ef01b2d8 (patch) | |
| tree | b3c5cc9566ac69523c1ef25fe407ce880d4dd1ff /Source/Core/InputCommon/ControllerInterface/Xlib/XInput2.h | |
| parent | 498584ac777ac4fc452a83a4380889ef2c99d216 (diff) | |
InputCommon: Add XInput2 InputBackend class.
Diffstat (limited to 'Source/Core/InputCommon/ControllerInterface/Xlib/XInput2.h')
| -rw-r--r-- | Source/Core/InputCommon/ControllerInterface/Xlib/XInput2.h | 3 |
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 { |
