added in the default buttons for each of the headsets

This commit is contained in:
Shane Harris
2020-10-29 19:49:31 +00:00
parent 899380e336
commit e89d06ead4
2 changed files with 12 additions and 2 deletions
@@ -28,7 +28,7 @@
<div class="section-title"
[ngClass]="{'text-dark-theme':appService.currentTheme === 'dark','text-light-theme':appService.currentTheme === 'light'}">
Refresh Rate</div>
This will allow you to change to 90Hz refresh rate for 90fps support in games.<br>
This will allow you to change to 90Hz refresh rate for 90fps support in games on Quest 2.<br>
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.
<div class="button-section">
<div class="waves-effect waves-light btn set-ca margin-bottom margin-right pink-button"
@@ -186,7 +186,13 @@
<div class="button-section">
<div class="waves-effect waves-light btn set-sso margin-bottom margin-right pink-button"
[ngClass]="{'button-dark-theme':appService.currentTheme === 'dark','button-light-theme':appService.currentTheme === 'light','waves-dark':true,'waves-light':false}"
(click)="setSSO(SSO._1024)">Default</div>
(click)="setSSO(SSO._1024)">Default - Oculus Go</div>
<div class="waves-effect waves-light btn set-sso margin-bottom margin-right pink-button"
[ngClass]="{'button-dark-theme':appService.currentTheme === 'dark','button-light-theme':appService.currentTheme === 'light','waves-dark':true,'waves-light':false}"
(click)="setSSO(SSO._1280)">Default - Oculus Quest</div>
<div class="waves-effect waves-light btn set-sso margin-bottom margin-right pink-button"
[ngClass]="{'button-dark-theme':appService.currentTheme === 'dark','button-light-theme':appService.currentTheme === 'light','waves-dark':true,'waves-light':false}"
(click)="setSSO(SSO._1440)">Default - Oculus Quest 2</div><br>
<div class="waves-effect waves-light btn set-sso margin-bottom margin-right pink-button"
[ngClass]="{'button-dark-theme':appService.currentTheme === 'dark','button-light-theme':appService.currentTheme === 'light','waves-dark':true,'waves-light':false}"
(click)="setSSO(SSO._512)">512</div>
@@ -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)