Initial Support for Quest

This commit is contained in:
iChris4 committed 2026-04-24 13:40:27 +02:00
1 parent 19ba9b05fa
commit 2929ead841
31 files changed
+581 -90

No files matched your search

@@ -9,11 +9,11 @@
#include "Common/Logging/Log.h"
#include "Core/HW/WiimoteReal/WiimoteReal.h"
#ifdef CIFACE_USE_WIN32
#include "InputCommon/ControllerInterface/Win32/Win32.h"
#ifdef ENABLE_VR
#if defined(ENABLE_VR) && (defined(CIFACE_USE_WIN32) || defined(CIFACE_USE_ANDROID))
#include "InputCommon/ControllerInterface/OpenXR/OpenXR.h"
#endif
#ifdef CIFACE_USE_WIN32
#include "InputCommon/ControllerInterface/Win32/Win32.h"
#endif
#ifdef CIFACE_USE_XLIB
#include "InputCommon/ControllerInterface/Xlib/XInput2.h"
@@ -78,6 +78,9 @@ void ControllerInterface::Initialize(const WindowSystemInfo& wsi)
#endif
#ifdef CIFACE_USE_ANDROID
m_input_backends.emplace_back(ciface::Android::CreateInputBackend(this));
#ifdef ENABLE_VR
m_input_backends.emplace_back(ciface::OpenXR::CreateInputBackend(this));
#endif
#endif
#ifdef CIFACE_USE_EVDEV
m_input_backends.emplace_back(ciface::evdev::CreateInputBackend(this));