mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-28 11:49:06 +00:00
ControllerInterface: Add InputBackend interface and SDL implementation.
This commit is contained in:
parent
dc046a2470
commit
44a4573303
8 changed files with 125 additions and 46 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue