added 90hz mode and fixed apk backups on quest 2
This commit is contained in:
@@ -48,6 +48,10 @@ enum SVB {
|
||||
_15Mbps,
|
||||
_25Mbps,
|
||||
}
|
||||
enum RR {
|
||||
_72,
|
||||
_90,
|
||||
}
|
||||
@Component({
|
||||
selector: 'app-tools',
|
||||
templateUrl: './tools.component.html',
|
||||
@@ -67,6 +71,7 @@ export class ToolsComponent implements OnInit {
|
||||
CR = CR;
|
||||
GPU = GPU;
|
||||
FR = GU;
|
||||
RR = RR;
|
||||
pavlovName;
|
||||
constructor(
|
||||
public appService: AppService,
|
||||
@@ -148,6 +153,24 @@ export class ToolsComponent implements OnInit {
|
||||
this.statusService.showStatus(e, true);
|
||||
});
|
||||
}
|
||||
setRR(rr: RR) {
|
||||
let value = 72;
|
||||
switch (rr) {
|
||||
case RR._72:
|
||||
value = 72;
|
||||
break;
|
||||
case RR._90:
|
||||
value = 90;
|
||||
break;
|
||||
}
|
||||
this.runAdbCommand('adb shell setprop debug.oculus.refreshRate ' + value)
|
||||
.then(() => {
|
||||
this.statusService.showStatus('Refresh Rate set OK!!');
|
||||
})
|
||||
.catch(e => {
|
||||
this.statusService.showStatus(e, true);
|
||||
});
|
||||
}
|
||||
setSSO(sso: SSO) {
|
||||
let value = 0;
|
||||
switch (sso) {
|
||||
|
||||
Reference in New Issue
Block a user