mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-04-26 06:18:32 +00:00
InputCommon: Remove the Xlib backend
The XInput2 backend is more performant, so let's default to it and remove the old, core-only backend.
This commit is contained in:
parent
2b640a4f7d
commit
928d05ec47
6 changed files with 2 additions and 272 deletions
|
@ -14,11 +14,8 @@
|
|||
#include "InputCommon/ControllerInterface/DInput/DInput.h"
|
||||
#endif
|
||||
#ifdef CIFACE_USE_XLIB
|
||||
#include "InputCommon/ControllerInterface/Xlib/Xlib.h"
|
||||
#ifdef CIFACE_USE_X11_XINPUT2
|
||||
#include "InputCommon/ControllerInterface/Xlib/XInput2.h"
|
||||
#endif
|
||||
#endif
|
||||
#ifdef CIFACE_USE_OSX
|
||||
#include "InputCommon/ControllerInterface/OSX/OSX.h"
|
||||
#endif
|
||||
|
@ -63,11 +60,8 @@ void ControllerInterface::Initialize(void* const hwnd)
|
|||
ciface::XInput::Init();
|
||||
#endif
|
||||
#ifdef CIFACE_USE_XLIB
|
||||
ciface::Xlib::Init(hwnd);
|
||||
#ifdef CIFACE_USE_X11_XINPUT2
|
||||
ciface::XInput2::Init(hwnd);
|
||||
#endif
|
||||
#endif
|
||||
#ifdef CIFACE_USE_OSX
|
||||
ciface::OSX::Init(hwnd);
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue