summaryrefslogtreecommitdiff
path: root/Source/Core/InputCommon/ControllerInterface
diff options
context:
space:
mode:
authorJasper St. Pierre <jstpierre@mecheye.net>2014-08-05 20:33:50 -0400
committerJasper St. Pierre <jstpierre@mecheye.net>2014-08-19 10:05:56 -0400
commit8bd4b9d2f90ca62de609be3dd07564f70edc44ad (patch)
tree27af91b0e22e7ba85440ab4a3abff5f5fd925b72 /Source/Core/InputCommon/ControllerInterface
parent355f7b366b572538791cd218d1c5d193147cf3ef (diff)
Remove support for Wayland
Yes, this is a fancy new feature, but our Wayland support was particularly bitrotten, and ideally this would be handled by a platform layer like SDL. If not, we can always add this back in when GLInterface has caught up. We might be able to even support wxWidgets and GL together with subsurfaces!
Diffstat (limited to 'Source/Core/InputCommon/ControllerInterface')
-rw-r--r--Source/Core/InputCommon/ControllerInterface/ControllerInterface.cpp9
1 files changed, 2 insertions, 7 deletions
diff --git a/Source/Core/InputCommon/ControllerInterface/ControllerInterface.cpp b/Source/Core/InputCommon/ControllerInterface/ControllerInterface.cpp
index 366485daa2..d90b3bf02a 100644
--- a/Source/Core/InputCommon/ControllerInterface/ControllerInterface.cpp
+++ b/Source/Core/InputCommon/ControllerInterface/ControllerInterface.cpp
@@ -57,15 +57,10 @@ 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);
+ ciface::Xlib::Init(m_devices, m_hwnd);
#ifdef CIFACE_USE_X11_XINPUT2
- ciface::XInput2::Init(m_devices, m_hwnd);
+ ciface::XInput2::Init(m_devices, m_hwnd);
#endif
- }
#endif
#ifdef CIFACE_USE_OSX
ciface::OSX::Init(m_devices, m_hwnd);