added refresh rate section back in
This commit is contained in:
@@ -26,6 +26,28 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<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 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"
|
||||
[ngClass]="{'button-dark-theme':appService.currentTheme === 'dark','button-light-theme':appService.currentTheme === 'light','waves-dark':true,'waves-light':false}"
|
||||
(click)="setRR(RR._72)">Default</div>
|
||||
<div class="waves-effect waves-light btn set-ca 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)="setRR(RR._60)">60Hz</div>
|
||||
<div class="waves-effect waves-light btn set-ca 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)="setRR(RR._72)">72Hz</div>
|
||||
<div class="waves-effect waves-light btn set-ca 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)="setRR(RR._90)">90Hz</div>
|
||||
<div class="waves-effect waves-light btn set-ca 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)="setRR(RR._120)">120Hz</div>
|
||||
</div>
|
||||
<div class="section-title"
|
||||
[ngClass]="{'text-dark-theme':appService.currentTheme === 'dark','text-light-theme':appService.currentTheme === 'light'}">
|
||||
Pavlov Settings</div>
|
||||
|
||||
@@ -53,8 +53,10 @@ enum SVB {
|
||||
_25Mbps,
|
||||
}
|
||||
enum RR {
|
||||
_60,
|
||||
_72,
|
||||
_90,
|
||||
_120,
|
||||
}
|
||||
@Component({
|
||||
selector: 'app-tools',
|
||||
@@ -160,12 +162,18 @@ export class ToolsComponent implements OnInit {
|
||||
setRR(rr: RR) {
|
||||
let value = 72;
|
||||
switch (rr) {
|
||||
case RR._60:
|
||||
value = 60;
|
||||
break;
|
||||
case RR._72:
|
||||
value = 72;
|
||||
break;
|
||||
case RR._90:
|
||||
value = 90;
|
||||
break;
|
||||
case RR._120:
|
||||
value = 120;
|
||||
break;
|
||||
}
|
||||
this.runAdbCommand('adb shell setprop debug.oculus.refreshRate ' + value)
|
||||
.then(() => {
|
||||
|
||||
Reference in New Issue
Block a user