Skip to content

Commit

Permalink
Disable OpenXR until game has it working right
Browse files Browse the repository at this point in the history
  • Loading branch information
SDraw committed Mar 29, 2024
1 parent 11287e7 commit 04f671c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 8 deletions.
7 changes: 1 addition & 6 deletions ml_bft/InputHandler.cs
Original file line number Diff line number Diff line change
Expand Up @@ -44,13 +44,8 @@ void SetupHandlers()
{
m_leftHandHandler = new HandHandlerVR(CVRInputManager.Instance.leftHandTransform, true);
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()
{
Expand Down
4 changes: 2 additions & 2 deletions ml_bft/resources/mod_menu.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,14 @@
</div>
<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 id="SkeletalInput" class ="inp_toggle no-scroll" data-current="false"></div>
</div>
</div>
<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 id="MotionRange" class ="inp_dropdown no-scroll" data-options="0:With controller,1:Without controller" data-current="0"></div>
</div>
Expand Down

0 comments on commit 04f671c

Please sign in to comment.