From e89d06ead4fce16cba4e398ddf6732c6cc89ecf1 Mon Sep 17 00:00:00 2001 From: Shane Harris Date: Thu, 29 Oct 2020 19:49:31 +0000 Subject: [PATCH] added in the default buttons for each of the headsets --- desktop-app/src/app/tools/tools.component.html | 10 ++++++++-- desktop-app/src/app/tools/tools.component.ts | 4 ++++ 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/desktop-app/src/app/tools/tools.component.html b/desktop-app/src/app/tools/tools.component.html index 11bb231..ae0c369 100644 --- a/desktop-app/src/app/tools/tools.component.html +++ b/desktop-app/src/app/tools/tools.component.html @@ -28,7 +28,7 @@
Refresh Rate
- This will allow you to change to 90Hz refresh rate for 90fps support in games.
+ This will allow you to change to 90Hz refresh rate for 90fps support in games on Quest 2.
WARNING: This does not work in all games, and does not work with Oculus Link. This setting may also reset to default when you restart your headset. You may need to press the power button twice to turn the screen off and on to enable this setting for apps that dont have it natively enabled.
Default
+ (click)="setSSO(SSO._1024)">Default - Oculus Go
+
Default - Oculus Quest
+
Default - Oculus Quest 2

512
diff --git a/desktop-app/src/app/tools/tools.component.ts b/desktop-app/src/app/tools/tools.component.ts index b952a71..d51c785 100644 --- a/desktop-app/src/app/tools/tools.component.ts +++ b/desktop-app/src/app/tools/tools.component.ts @@ -33,6 +33,7 @@ enum SSO { _2048, _2560, _3072, + _1440, } enum SVR { _1024, @@ -198,6 +199,9 @@ export class ToolsComponent implements OnInit { case SSO._3072: value = 3072; break; + case SSO._1440: + value = 1440; + break; } this.runAdbCommand('adb shell setprop debug.oculus.textureWidth ' + value)