mirror of
https://github.com/thejerf/baijiSteamVR.git
synced 2026-10-29 03:02:40 +01:00
Added VR Linux Build Option
This commit is contained in:
1 parent
dc45c33318
commit
2103012a9a
6 files changed
+37
-25
No files matched your search
@@ -9,7 +9,7 @@
|
||||
#include "Common/Logging/Log.h"
|
||||
#include "Core/HW/WiimoteReal/WiimoteReal.h"
|
||||
|
||||
#if defined(ENABLE_VR) && (defined(CIFACE_USE_WIN32) || defined(CIFACE_USE_ANDROID))
|
||||
#ifdef ENABLE_VR
|
||||
#include "InputCommon/ControllerInterface/OpenXR/OpenXR.h"
|
||||
#endif
|
||||
#ifdef CIFACE_USE_WIN32
|
||||
@@ -63,9 +63,6 @@ void ControllerInterface::Initialize(const WindowSystemInfo& wsi)
|
||||
|
||||
#ifdef CIFACE_USE_WIN32
|
||||
m_input_backends.emplace_back(ciface::Win32::CreateInputBackend(this));
|
||||
#ifdef ENABLE_VR
|
||||
m_input_backends.emplace_back(ciface::OpenXR::CreateInputBackend(this));
|
||||
#endif
|
||||
#endif
|
||||
#ifdef CIFACE_USE_XLIB
|
||||
m_input_backends.emplace_back(ciface::XInput2::CreateInputBackend(this));
|
||||
@@ -78,10 +75,10 @@ void ControllerInterface::Initialize(const WindowSystemInfo& wsi)
|
||||
#endif
|
||||
#ifdef CIFACE_USE_ANDROID
|
||||
m_input_backends.emplace_back(ciface::Android::CreateInputBackend(this));
|
||||
#endif
|
||||
#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));
|
||||
#endif
|
||||
|
||||
Reference in new issue
Block a user