Disable OpenXR until game has it working right

This commit is contained in:
SDraw 2024-03-30 02:17:53 +03:00
parent 11287e7dc5
commit 04f671cb4d
No known key found for this signature in database
GPG key ID: BB95B4DAB2BB8BB5
2 changed files with 3 additions and 8 deletions

View file

@ -44,13 +44,8 @@ namespace ml_bft
{ {
m_leftHandHandler = new HandHandlerVR(CVRInputManager.Instance.leftHandTransform, true); m_leftHandHandler = new HandHandlerVR(CVRInputManager.Instance.leftHandTransform, true);
m_rightHandHandler = new HandHandlerVR(CVRInputManager.Instance.rightHandTransform, false); m_rightHandHandler = new HandHandlerVR(CVRInputManager.Instance.rightHandTransform, false);
m_active = true;
} }
else
{
m_leftHandHandler = new HandHandlerXR(CVRInputManager.Instance.leftHandTransform, true);
m_rightHandHandler = new HandHandlerXR(CVRInputManager.Instance.rightHandTransform, false);
}
m_active = true;
} }
void RemoveHandlers() void RemoveHandlers()
{ {

View file

@ -7,14 +7,14 @@
</div> </div>
<div class ="row-wrapper"> <div class ="row-wrapper">
<div class ="option-caption">Force SteamVR/OpenXR skeletal input: </div> <div class ="option-caption">Force SteamVR skeletal input: </div>
<div class ="option-input"> <div class ="option-input">
<div id="SkeletalInput" class ="inp_toggle no-scroll" data-current="false"></div> <div id="SkeletalInput" class ="inp_toggle no-scroll" data-current="false"></div>
</div> </div>
</div> </div>
<div class ="row-wrapper"> <div class ="row-wrapper">
<div class ="option-caption">Motion range (SteamVR only): </div> <div class ="option-caption">Motion range: </div>
<div class ="option-input"> <div class ="option-input">
<div id="MotionRange" class ="inp_dropdown no-scroll" data-options="0:With controller,1:Without controller" data-current="0"></div> <div id="MotionRange" class ="inp_dropdown no-scroll" data-options="0:With controller,1:Without controller" data-current="0"></div>
</div> </div>