Fix Settings > Calibration dialog not functioning when HIFI_DEBUG_OPENVR

This commit is contained in:
David Rowe 2020-06-27 12:32:57 +12:00
parent 5ce60a9ab7
commit e95dd3c2bd

View file

@ -863,6 +863,9 @@ void ViveControllerManager::InputDevice::update(float deltaTime, const controlle
if (_headsetName == "HTC") {
_headsetName += " Vive";
}
if (oculusViaOpenVR()) {
_headsetName = "OpenVR"; // Enables calibration dialog to function when debugging using Oculus.
}
}
// While the keyboard is open, we defer strictly to the keyboard values
if (isOpenVrKeyboardShown()) {