* update openvr 1.26.7

* ignore chaperone play area error, as it should not effect chaperone, and it frequently occurs with some meta to pcvr configurations

* replace old seated origin call with new reset zero pose call

* change zero offsets to new command

* adjust camera settings to new version of openvr 1.27

* fix save error

* increment version 5.7.4
This commit is contained in:
ykeara
2023-10-09 15:39:13 -05:00
committed by GitHub
parent 67fb57a353
commit 54d22a429e
38 changed files with 1455 additions and 18096 deletions
@@ -968,7 +968,7 @@ void MoveCenterTabController::incomingSeatedReset()
if ( !m_selfRequestedSeatedRecenter && !simpleRecenter() )
{
m_selfRequestedSeatedRecenter = true;
vr::VRSystem()->ResetSeatedZeroPose();
vr::VRChaperone()->ResetZeroPose( vr::TrackingUniverseSeated );
}
else
{
@@ -1122,6 +1122,8 @@ void MoveCenterTabController::zeroOffsets()
// offsets
auto chaperoneState = vr::VRChaperone()->GetCalibrationState();
if ( chaperoneState < vr::ChaperoneCalibrationState_Error
|| chaperoneState
== vr::ChaperoneCalibrationState_Error_PlayAreaInvalid
|| m_ignoreChaperoneState )
{
if ( !m_chaperoneInit )
@@ -1202,7 +1204,7 @@ void MoveCenterTabController::zeroOffsets()
void MoveCenterTabController::sendSeatedRecenter()
{
vr::VRSystem()->ResetSeatedZeroPose();
vr::VRChaperone()->ResetZeroPose( vr::TrackingUniverseSeated );
}
double MoveCenterTabController::getHmdYawTotal()