mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-05-06 11:12:40 +00:00
wayland: Add bits required to run as a wayland client.
This commit is contained in:
parent
3b25bf2f14
commit
84aa98a5a4
9 changed files with 105 additions and 80 deletions
Source/Core/InputCommon/ControllerInterface
|
@ -1,5 +1,9 @@
|
|||
#include "ControllerInterface.h"
|
||||
|
||||
#if USE_EGL
|
||||
#include "GLInterface/Platform.h"
|
||||
#endif
|
||||
|
||||
#ifdef CIFACE_USE_XINPUT
|
||||
#include "XInput/XInput.h"
|
||||
#endif
|
||||
|
@ -50,10 +54,16 @@ void ControllerInterface::Initialize()
|
|||
ciface::XInput::Init(m_devices);
|
||||
#endif
|
||||
#ifdef CIFACE_USE_XLIB
|
||||
#if USE_EGL
|
||||
if (GLWin.platform == EGL_PLATFORM_X11) {
|
||||
#endif
|
||||
ciface::Xlib::Init(m_devices, m_hwnd);
|
||||
#ifdef CIFACE_USE_X11_XINPUT2
|
||||
ciface::XInput2::Init(m_devices, m_hwnd);
|
||||
#endif
|
||||
#if USE_EGL
|
||||
}
|
||||
#endif
|
||||
#endif
|
||||
#ifdef CIFACE_USE_OSX
|
||||
ciface::OSX::Init(m_devices, m_hwnd);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue