mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
OpenXR - Forgotten changes added
This commit is contained in:
parent
4642e0a66f
commit
cef7c5a1a1
4 changed files with 6 additions and 0 deletions
|
@ -839,6 +839,7 @@ static const ConfigSetting vrSettings[] = {
|
||||||
ConfigSetting("VREnableMotions", &g_Config.bEnableMotions, true, CfgFlag::PER_GAME),
|
ConfigSetting("VREnableMotions", &g_Config.bEnableMotions, true, CfgFlag::PER_GAME),
|
||||||
ConfigSetting("VRForce72Hz", &g_Config.bForce72Hz, true, CfgFlag::PER_GAME),
|
ConfigSetting("VRForce72Hz", &g_Config.bForce72Hz, true, CfgFlag::PER_GAME),
|
||||||
ConfigSetting("VRManualForceVR", &g_Config.bManualForceVR, false, CfgFlag::PER_GAME),
|
ConfigSetting("VRManualForceVR", &g_Config.bManualForceVR, false, CfgFlag::PER_GAME),
|
||||||
|
ConfigSetting("VRPassthrough", &g_Config.bPassthrough, false, CfgFlag::PER_GAME),
|
||||||
ConfigSetting("VRRescaleHUD", &g_Config.bRescaleHUD, true, CfgFlag::PER_GAME),
|
ConfigSetting("VRRescaleHUD", &g_Config.bRescaleHUD, true, CfgFlag::PER_GAME),
|
||||||
ConfigSetting("VRCameraDistance", &g_Config.fCameraDistance, 0.0f, CfgFlag::PER_GAME),
|
ConfigSetting("VRCameraDistance", &g_Config.fCameraDistance, 0.0f, CfgFlag::PER_GAME),
|
||||||
ConfigSetting("VRCameraHeight", &g_Config.fCameraHeight, 0.0f, CfgFlag::PER_GAME),
|
ConfigSetting("VRCameraHeight", &g_Config.fCameraHeight, 0.0f, CfgFlag::PER_GAME),
|
||||||
|
|
|
@ -453,6 +453,7 @@ public:
|
||||||
bool bEnableMotions;
|
bool bEnableMotions;
|
||||||
bool bForce72Hz;
|
bool bForce72Hz;
|
||||||
bool bManualForceVR;
|
bool bManualForceVR;
|
||||||
|
bool bPassthrough;
|
||||||
bool bRescaleHUD;
|
bool bRescaleHUD;
|
||||||
float fCameraDistance;
|
float fCameraDistance;
|
||||||
float fCameraHeight;
|
float fCameraHeight;
|
||||||
|
|
|
@ -1152,6 +1152,9 @@ void GameSettingsScreen::CreateVRSettings(UI::ViewGroup *vrSettings) {
|
||||||
vr6DoF->SetEnabledPtr(&g_Config.bEnableVR);
|
vr6DoF->SetEnabledPtr(&g_Config.bEnableVR);
|
||||||
vrSettings->Add(new CheckBox(&g_Config.bEnableStereo, vr->T("Stereoscopic vision (Experimental)")));
|
vrSettings->Add(new CheckBox(&g_Config.bEnableStereo, vr->T("Stereoscopic vision (Experimental)")));
|
||||||
vrSettings->Add(new CheckBox(&g_Config.bForce72Hz, vr->T("Force 72Hz update")));
|
vrSettings->Add(new CheckBox(&g_Config.bForce72Hz, vr->T("Force 72Hz update")));
|
||||||
|
if (IsPassthroughSupported()) {
|
||||||
|
vrSettings->Add(new CheckBox(&g_Config.bPassthrough, vr->T("Enable passthrough")));
|
||||||
|
}
|
||||||
|
|
||||||
vrSettings->Add(new ItemHeader(vr->T("VR camera")));
|
vrSettings->Add(new ItemHeader(vr->T("VR camera")));
|
||||||
vrSettings->Add(new PopupSliderChoiceFloat(&g_Config.fCanvasDistance, 1.0f, 15.0f, 12.0f, vr->T("Distance to 2D menus and scenes"), 1.0f, screenManager(), ""));
|
vrSettings->Add(new PopupSliderChoiceFloat(&g_Config.fCanvasDistance, 1.0f, 15.0f, 12.0f, vr->T("Distance to 2D menus and scenes"), 1.0f, screenManager(), ""));
|
||||||
|
|
|
@ -3,6 +3,7 @@
|
||||||
|
|
||||||
<uses-feature android:glEsVersion="0x00030001" />
|
<uses-feature android:glEsVersion="0x00030001" />
|
||||||
<uses-feature android:name="android.hardware.vr.headtracking" android:version="1" android:required="true" />
|
<uses-feature android:name="android.hardware.vr.headtracking" android:version="1" android:required="true" />
|
||||||
|
<uses-feature android:name="com.oculus.feature.PASSTHROUGH" android:required="false" />
|
||||||
|
|
||||||
<application
|
<application
|
||||||
android:allowBackup="true"
|
android:allowBackup="true"
|
||||||
|
|
Loading…
Add table
Reference in a new issue