added in new tools screen
This commit is contained in:
@@ -346,11 +346,6 @@ export class AdbClientService {
|
|||||||
this.deviceStatusMessage =
|
this.deviceStatusMessage =
|
||||||
this.deviceName +
|
this.deviceName +
|
||||||
' <i mz-tooltip class="material-icons white-text top-menu-bar-icon vertical-align"' +
|
' <i mz-tooltip class="material-icons white-text top-menu-bar-icon vertical-align"' +
|
||||||
' position="bottom" tooltip="Wifi">' +
|
|
||||||
' wifi' +
|
|
||||||
' </i> ' +
|
|
||||||
(this.deviceIp || 'Not found...') +
|
|
||||||
' <i mz-tooltip class="material-icons white-text top-menu-bar-icon vertical-align"' +
|
|
||||||
' position="bottom" tooltip="Battery">' +
|
' position="bottom" tooltip="Battery">' +
|
||||||
' ' +
|
' ' +
|
||||||
(this.isBatteryCharging ? 'battery_charging_full' : 'battery_full') +
|
(this.isBatteryCharging ? 'battery_charging_full' : 'battery_full') +
|
||||||
@@ -368,37 +363,13 @@ export class AdbClientService {
|
|||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case ConnectionStatus.DISCONNECTED:
|
case ConnectionStatus.DISCONNECTED:
|
||||||
this.deviceStatusMessage =
|
this.deviceStatusMessage = 'Not Detected';
|
||||||
'Not Detected' +
|
|
||||||
(this.deviceIp
|
|
||||||
? ' <i mz-tooltip class="material-icons white-text top-menu-bar-icon vertical-align"' +
|
|
||||||
' position="bottom" tooltip="Battery">' +
|
|
||||||
' wifi' +
|
|
||||||
' </i> ' +
|
|
||||||
this.deviceIp
|
|
||||||
: '');
|
|
||||||
break;
|
break;
|
||||||
case ConnectionStatus.UNAUTHORIZED:
|
case ConnectionStatus.UNAUTHORIZED:
|
||||||
this.deviceStatusMessage =
|
this.deviceStatusMessage = 'Unauthorized: Allow in headset';
|
||||||
'Unauthorized: Allow in headset. ' +
|
|
||||||
(this.deviceIp
|
|
||||||
? ' <i mz-tooltip class="material-icons white-text top-menu-bar-icon vertical-align"' +
|
|
||||||
' position="bottom" tooltip="Battery">' +
|
|
||||||
' wifi' +
|
|
||||||
' </i> ' +
|
|
||||||
this.deviceIp
|
|
||||||
: '');
|
|
||||||
break;
|
break;
|
||||||
case ConnectionStatus.DEV_MODE:
|
case ConnectionStatus.DEV_MODE:
|
||||||
this.deviceStatusMessage =
|
this.deviceStatusMessage = 'Dev Mode: Enable dev mode in the Oculus phone app';
|
||||||
'Dev Mode: Enable dev mode in the Oculus phone app. ' +
|
|
||||||
(this.deviceIp
|
|
||||||
? ' <i mz-tooltip class="material-icons white-text top-menu-bar-icon vertical-align"' +
|
|
||||||
' position="bottom" tooltip="Battery">' +
|
|
||||||
' wifi' +
|
|
||||||
' </i> ' +
|
|
||||||
this.deviceIp
|
|
||||||
: '');
|
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
<app-header></app-header>
|
<app-header></app-header>
|
||||||
<div class="app-container">
|
<div class="app-container">
|
||||||
<app-content></app-content>
|
<router-outlet></router-outlet>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<app-loading-spinner #spinner></app-loading-spinner>
|
<app-loading-spinner #spinner></app-loading-spinner>
|
||||||
|
|||||||
@@ -31,5 +31,5 @@
|
|||||||
left: 0;
|
left: 0;
|
||||||
position: fixed;
|
position: fixed;
|
||||||
z-index: 8;
|
z-index: 8;
|
||||||
background:#0c0c0c;
|
background:#12152d;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -36,7 +36,7 @@
|
|||||||
<!-- </label>-->
|
<!-- </label>-->
|
||||||
<!--</div>-->
|
<!--</div>-->
|
||||||
|
|
||||||
<button class="pure-material-button-contained button-margin-bottom" (click)="helpOpen = true;" *ngIf="!adb.isReady">Fix It For Me</button>
|
<div class="pure-material-button-contained button-margin-bottom" (click)="helpOpen = true;" *ngIf="!adb.isReady">Fix It For Me</div>
|
||||||
<!--<button class="pure-material-button-contained button-margin-bottom" (click)="backHome.emit()" *ngIf="adb.isReady && (adb.isOutOfDate || adb.notInstalled)">Install SideQuest</button>-->
|
<!--<button class="pure-material-button-contained button-margin-bottom" (click)="backHome.emit()" *ngIf="adb.isReady && (adb.isOutOfDate || adb.notInstalled)">Install SideQuest</button>-->
|
||||||
<!-- <button class="pure-material-button-contained button-margin-bottom flat" (click)="backHome.emit()" *ngIf="adb.isReady && !(adb.isOutOfDate || adb.notInstalled)">Back Home</button>-->
|
<!-- <button class="pure-material-button-contained button-margin-bottom flat" (click)="backHome.emit()" *ngIf="adb.isReady && !(adb.isOutOfDate || adb.notInstalled)">Back Home</button>-->
|
||||||
|
|
||||||
|
|||||||
@@ -1,3 +1,3 @@
|
|||||||
<div class="content content-dark-theme">
|
<div class="content content-dark-theme">
|
||||||
<router-outlet></router-outlet>
|
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -1,7 +1,6 @@
|
|||||||
.body-content {
|
.body-content {
|
||||||
height: calc(100% - 200px);
|
height: calc(100% - 200px);
|
||||||
width: 100%;
|
width: 100%;
|
||||||
background: #f0f0f0;
|
|
||||||
position: relative;
|
position: relative;
|
||||||
overflow: auto;
|
overflow: auto;
|
||||||
}
|
}
|
||||||
@@ -11,7 +10,6 @@
|
|||||||
border-bottom-right-radius: 5px;
|
border-bottom-right-radius: 5px;
|
||||||
border-bottom-left-radius: 5px;
|
border-bottom-left-radius: 5px;
|
||||||
transition: background-color 350ms ease-out;
|
transition: background-color 350ms ease-out;
|
||||||
background-color:#0c0c0c;
|
|
||||||
}
|
}
|
||||||
/*.content-dark-theme{*/
|
/*.content-dark-theme{*/
|
||||||
/*background-color:#211c23;*/
|
/*background-color:#211c23;*/
|
||||||
|
|||||||
@@ -1,5 +1,13 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
<div class="container">
|
<div class="container">
|
||||||
<h4 *ngIf="!processService.tasks.length" class="text-dark-theme">No tasks running...</h4>
|
<div *ngIf="!processService.tasks.length" class="white-text">
|
||||||
|
|
||||||
|
<br>No tasks running.
|
||||||
|
<br><br>
|
||||||
|
<div class="pure-material-button-contained" routerLink="/">Back Home</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
<div class="row" *ngIf="processService.tasks.length">
|
<div class="row" *ngIf="processService.tasks.length">
|
||||||
<app-current-task-item *ngFor="let task of processService.tasks;" [task]="task"></app-current-task-item>
|
<app-current-task-item *ngFor="let task of processService.tasks;" [task]="task"></app-current-task-item>
|
||||||
|
|||||||
@@ -9,10 +9,10 @@
|
|||||||
</nav>
|
</nav>
|
||||||
</div>
|
</div>
|
||||||
<div class="container files-section">
|
<div class="container files-section">
|
||||||
<div *ngIf="!isConnected()">
|
<div *ngIf="!isConnected()" class="white-text">
|
||||||
<h4 class="text-dark-theme">
|
<br>You are not currently connected.
|
||||||
No device connected yet...</h4>
|
<br><br>
|
||||||
|
<div class="pure-material-button-contained" routerLink="/setup">Open Setup Instructions</div>
|
||||||
</div>
|
</div>
|
||||||
<div *ngIf="isConnected()">
|
<div *ngIf="isConnected()">
|
||||||
<div *ngIf="!files.length">
|
<div *ngIf="!files.length">
|
||||||
|
|||||||
@@ -56,43 +56,25 @@
|
|||||||
</ng-container>
|
</ng-container>
|
||||||
</div>
|
</div>
|
||||||
<div class="user-menu" #userMenu>
|
<div class="user-menu" #userMenu>
|
||||||
<!-- <div class="btn-flat waves-light waves-light full-width center-align white-text"-->
|
<!-- <div class="btn-flat waves-light waves-light full-width center-align white-text"-->
|
||||||
<!-- (click)="userMenu.style.display = 'none';userMenuBack.style.display = 'none';webService.loadUrl(webUrl || 'https://sidequestvr.com')"-->
|
<!-- *ngIf="isConnected()&&osPlatform === 'win32'"-->
|
||||||
<!-- routerLink="/webview"><i class="material-icons left">home</i>Home</div><br>-->
|
<!-- (click)="userMenu.style.display = 'none';userMenuBack.style.display = 'none';scrcpyModal.openModal();">-->
|
||||||
<div class="btn-flat waves-light waves-light full-width center-align white-text"
|
<!-- <i class="material-icons left">live_tv</i>Streaming</div>-->
|
||||||
*ngIf="isConnected()&&osPlatform === 'win32'"
|
<!-- <div class="btn-flat waves-light waves-light full-width center-align white-text" *ngIf="adbService.deviceIp"-->
|
||||||
(click)="userMenu.style.display = 'none';userMenuBack.style.display = 'none';scrcpyModal.openModal();">
|
<!-- (click)="userMenu.style.display = 'none';userMenuBack.style.display = 'none';wifiModal.openModal()"><i-->
|
||||||
<i class="material-icons left">live_tv</i>Streaming</div>
|
<!-- class="material-icons left">wifi</i>Wifi</div>-->
|
||||||
<div class="btn-flat waves-light waves-light full-width center-align white-text" *ngIf="adbService.deviceIp"
|
<!-- <div class="btn-flat waves-light waves-light full-width center-align white-text"-->
|
||||||
(click)="userMenu.style.display = 'none';userMenuBack.style.display = 'none';wifiModal.openModal()"><i
|
<!-- (click)="userMenu.style.display = 'none';userMenuBack.style.display = 'none';adbModal.openModal()"><i-->
|
||||||
class="material-icons left">wifi</i>Wifi</div>
|
<!-- class="material-icons left">input</i>ADB Commands</div>-->
|
||||||
<!-- <div class="btn-flat waves-light waves-light full-width center-align white-text"-->
|
|
||||||
<!-- (click)="userMenu.style.display = 'none';userMenuBack.style.display = 'none';selectAppToInstall()"><i-->
|
|
||||||
<!-- class="material-icons left">archive</i>Select APK</div>-->
|
|
||||||
<!-- <div class="btn-flat waves-light waves-light full-width center-align white-text"-->
|
|
||||||
<!-- (click)="userMenu.style.display = 'none';userMenuBack.style.display = 'none';" routerLink="/device-files"><i-->
|
|
||||||
<!-- class="material-icons left">folder</i>File Explorer</div>-->
|
|
||||||
<!-- <div class="btn-flat waves-light waves-light full-width center-align white-text"-->
|
|
||||||
<!-- (click)="userMenu.style.display = 'none';userMenuBack.style.display = 'none';" routerLink="packages"><i-->
|
|
||||||
<!-- class="material-icons left">apps</i>My Apps</div>-->
|
|
||||||
<!-- <div class="btn-flat waves-light waves-light full-width center-align white-text"-->
|
|
||||||
<!-- (click)="userMenu.style.display = 'none';userMenuBack.style.display = 'none';" routerLink="tools"><i-->
|
|
||||||
<!-- class="material-icons left">build</i>Tools</div>-->
|
|
||||||
<div class="btn-flat waves-light waves-light full-width center-align white-text"
|
|
||||||
(click)="userMenu.style.display = 'none';userMenuBack.style.display = 'none';adbModal.openModal()"><i
|
|
||||||
class="material-icons left">input</i>ADB Commands</div>
|
|
||||||
<!-- <div class="btn-flat waves-light waves-light full-width center-align white-text"-->
|
|
||||||
<!-- (click)="userMenu.style.display = 'none';userMenuBack.style.display = 'none';logcatModal.openModal()"><i-->
|
|
||||||
<!-- class="material-icons left">input</i>ADB Logcat</div>-->
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<app-link *ngIf="appService.updateAvailable"
|
<app-link *ngIf="appService.updateAvailable"
|
||||||
class="waves-effect waves-light btn-flat update-available link small-button warning" (click)="updateAvailable()"
|
class="waves-effect waves-light btn-flat update-available link small-button warning" (click)="updateAvailable()"
|
||||||
text="Update"></app-link>
|
text="Update"></app-link>
|
||||||
<i mz-tooltip class="material-icons white-text no-outline top-menu-bar-icon-down" position="bottom" tooltip="Menu"
|
<!-- <i mz-tooltip class="material-icons white-text no-outline top-menu-bar-icon-down" position="bottom" tooltip="Menu"-->
|
||||||
(click)="userMenu.style.display = 'block';userMenuBack.style.display = 'block'">
|
<!-- (click)="userMenu.style.display = 'block';userMenuBack.style.display = 'block'">-->
|
||||||
arrow_drop_down
|
<!-- arrow_drop_down-->
|
||||||
</i>
|
<!-- </i>-->
|
||||||
<i mz-tooltip routerLink="/webview" (click)="doBack()"
|
<i mz-tooltip routerLink="/webview" (click)="doBack()"
|
||||||
class="material-icons white-text no-outline" position="bottom" tooltip="Back">
|
class="material-icons white-text no-outline" position="bottom" tooltip="Back">
|
||||||
arrow_back
|
arrow_back
|
||||||
@@ -109,12 +91,12 @@
|
|||||||
arrow_forward
|
arrow_forward
|
||||||
</i>
|
</i>
|
||||||
<i mz-tooltip (click)="scrcpyModal.openModal();" *ngIf="isConnected()&&osPlatform === 'win32'"
|
<i mz-tooltip (click)="scrcpyModal.openModal();" *ngIf="isConnected()&&osPlatform === 'win32'"
|
||||||
class="material-icons white-text no-outline top-menu-bar-icon" position="bottom"
|
class="material-icons white-text no-outline" position="bottom"
|
||||||
tooltip="Stream from your headset to your PC with ScrCpy.">
|
tooltip="Stream from your headset to your PC with ScrCpy.">
|
||||||
live_tv
|
live_tv
|
||||||
</i>
|
</i>
|
||||||
<i mz-tooltip *ngIf="adbService.deviceIp" (click)="wifiModal.openModal()"
|
<i mz-tooltip *ngIf="adbService.deviceIp" (click)="wifiModal.openModal()"
|
||||||
class="material-icons no-outline top-menu-bar-icon"
|
class="material-icons no-outline"
|
||||||
[ngClass]="{'green-text':adbService.wifiEnabled,'white-text':!adbService.wifiEnabled}" position="bottom"
|
[ngClass]="{'green-text':adbService.wifiEnabled,'white-text':!adbService.wifiEnabled}" position="bottom"
|
||||||
tooltip="Enable wireless mode. (Experimental)">
|
tooltip="Enable wireless mode. (Experimental)">
|
||||||
wifi
|
wifi
|
||||||
@@ -146,26 +128,11 @@
|
|||||||
tooltip="Device settings & tools">
|
tooltip="Device settings & tools">
|
||||||
build
|
build
|
||||||
</i>
|
</i>
|
||||||
<i mz-tooltip (click)="commandMenu.style.display = 'block';commandMenuBack.style.display = 'block'" class="material-icons white-text no-outline top-menu-bar-icon"
|
<i mz-tooltip (click)="commandMenu.style.display = 'block';commandMenuBack.style.display = 'block'"
|
||||||
|
class="material-icons white-text no-outline"
|
||||||
position="bottom" tooltip="Run ADB commands">
|
position="bottom" tooltip="Run ADB commands">
|
||||||
input
|
input
|
||||||
</i>
|
</i>
|
||||||
<!-- <i (click)="openDebugger()" id="open-debugger" mz-tooltip class="material-icons white-text top-menu-bar-icon"-->
|
|
||||||
<!-- position="bottom" tooltip="Open debugger">-->
|
|
||||||
<!-- bug_report-->
|
|
||||||
<!-- </i>-->
|
|
||||||
<!-- <i (click)="minimizeApp(); userMenu.style.display = 'none';userMenuBack.style.display = 'none'" mz-tooltip class="material-icons white-text no-outline" position="bottom"-->
|
|
||||||
<!-- tooltip="Minimize SideQuest.">-->
|
|
||||||
<!-- minimize-->
|
|
||||||
<!-- </i>-->
|
|
||||||
<!-- <i (click)="maximizeApp(); userMenu.style.display = 'none';userMenuBack.style.display = 'none'" mz-tooltip class="material-icons white-text no-outline" position="bottom"-->
|
|
||||||
<!-- tooltip="Toggle Maximize.">-->
|
|
||||||
<!-- aspect_ratio-->
|
|
||||||
<!-- </i>-->
|
|
||||||
<!-- <i (click)="closeAppModal.openModal(); userMenu.style.display = 'none';userMenuBack.style.display = 'none'" mz-tooltip class="material-icons white-text no-outline" position="bottom"-->
|
|
||||||
<!-- tooltip="Close SideQuest.">-->
|
|
||||||
<!-- close-->
|
|
||||||
<!-- </i>-->
|
|
||||||
</div>
|
</div>
|
||||||
<div id="connection-status-container">
|
<div id="connection-status-container">
|
||||||
<i mz-tooltip class="material-icons white-text no-outline connection-device-select pointer left"
|
<i mz-tooltip class="material-icons white-text no-outline connection-device-select pointer left"
|
||||||
@@ -174,13 +141,15 @@
|
|||||||
position="bottom" tooltip="Select Device">
|
position="bottom" tooltip="Select Device">
|
||||||
arrow_drop_down
|
arrow_drop_down
|
||||||
</i>
|
</i>
|
||||||
<app-link class="waves-effect waves-light btn-flat update-available get-help link small-button warning left" *ngIf="!adbService.isReady"
|
<div class="connection-status-outer left">
|
||||||
text="Get Help" routerLink="/setup"></app-link>
|
<div id="connection-status" class="connection-status-unauthorized " mz-tooltip
|
||||||
<div id="connection-status" class="connection-status-unauthorized left" mz-tooltip
|
position="bottom" [ngClass]="adbService.connectionCss" [tooltip]="adbService.lastErrorMessage||'Device connection status.'">
|
||||||
position="bottom" [ngClass]="adbService.connectionCss" [tooltip]="adbService.lastErrorMessage||'Device connection status.'">
|
|
||||||
|
|
||||||
<div id="connection-status-message" [innerHTML]="appService.versionName+' '+adbService.deviceStatusMessage"></div>
|
|
||||||
|
</div>
|
||||||
|
<div id="connection-status-message" [innerHTML]="adbService.deviceStatusMessage"></div>
|
||||||
</div>
|
</div>
|
||||||
|
<div class="pure-material-button-contained slim get-help" *ngIf="!adbService.isReady" routerLink="/setup">Open Setup Instructions</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@@ -199,13 +168,6 @@
|
|||||||
<br />
|
<br />
|
||||||
<span class="spinner-loading-message" [innerHTML]="dragAndDropService.message"></span>
|
<span class="spinner-loading-message" [innerHTML]="dragAndDropService.message"></span>
|
||||||
</div>
|
</div>
|
||||||
<div class="apk-install" *ngIf="appService.isPackagesOpen">Manage the apps on your headset.<br>Click Show All to
|
|
||||||
see all apps including system apps.</div>
|
|
||||||
<div class="apk-install" *ngIf="appService.isSettingsOpen">Manage settings on your headset.</div>
|
|
||||||
<div class="apk-install" *ngIf="appService.isSetupOpen">Setup your headset with SideQuest.</div>
|
|
||||||
|
|
||||||
<div class="apk-install" *ngIf="appService.isTasksOpen">Manage tasks for installing, <br>downloading and uploading
|
|
||||||
from your headset.</div>
|
|
||||||
</div>
|
</div>
|
||||||
<div *ngIf="appService.showBrowserBar" class="beast-saber-buttons">
|
<div *ngIf="appService.showBrowserBar" class="beast-saber-buttons">
|
||||||
<a class="waves-effect waves-light synthrideerz"
|
<a class="waves-effect waves-light synthrideerz"
|
||||||
|
|||||||
@@ -177,26 +177,30 @@ virtual-scroller{
|
|||||||
}
|
}
|
||||||
#connection-status-message {
|
#connection-status-message {
|
||||||
text-align: left;
|
text-align: left;
|
||||||
white-space: nowrap;
|
margin-left: 10px;
|
||||||
float: left;
|
display: inline-block;
|
||||||
margin-left: 30px;
|
vertical-align: middle;
|
||||||
margin-top: -2px;
|
margin-right: 10px;
|
||||||
color: white;
|
color: white;
|
||||||
}
|
}
|
||||||
#connection-status-container{
|
#connection-status-container{
|
||||||
position: absolute;
|
position: absolute;
|
||||||
left: 10px;
|
left: 10px;
|
||||||
top: 8px;
|
top: 6px;
|
||||||
-webkit-app-region: no-drag;
|
-webkit-app-region: no-drag;
|
||||||
}
|
}
|
||||||
.connection-device-select{
|
.connection-device-select{
|
||||||
vertical-align: top;
|
vertical-align: top;
|
||||||
}
|
}
|
||||||
|
.connection-status-outer{
|
||||||
|
white-space: nowrap;
|
||||||
|
}
|
||||||
#connection-status {
|
#connection-status {
|
||||||
width: 20px;
|
width: 20px;
|
||||||
height: 20px;
|
height: 20px;
|
||||||
border-radius: 10px;
|
border-radius: 10px;
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
|
vertical-align: middle;
|
||||||
}
|
}
|
||||||
.connection-status-connected {
|
.connection-status-connected {
|
||||||
background-color: #4caf50;
|
background-color: #4caf50;
|
||||||
|
|||||||
@@ -1,305 +1,402 @@
|
|||||||
<div class="container text-dark-theme">
|
<div class="container text-dark-theme">
|
||||||
<div *ngIf="!adbService.isReady" class="diagnostics-inner" >
|
<div *ngIf="!adbService.isReady" class="diagnostics-inner white-text">
|
||||||
<br>
|
<br>You are not currently connected.
|
||||||
<ng-container>
|
|
||||||
You are not currently connected.
|
|
||||||
</ng-container>
|
|
||||||
<br><br>
|
<br><br>
|
||||||
<button class="pure-material-button-contained" routerLink="/setup">Open Setup</button>
|
<div class="pure-material-button-contained" routerLink="/setup">Open Setup Instructions</div>
|
||||||
</div>
|
</div>
|
||||||
<ng-container *ngIf="adbService.isReady">
|
<ng-container *ngIf="adbService.isReady">
|
||||||
<h3 class="section-title">MTP ( Media Transfer Protocol )</h3>
|
<h4 class="section-title">Quality & Performance</h4>
|
||||||
<div class="switch">
|
<div class="section-container card z-depth-2">
|
||||||
<label>
|
<div class="row">
|
||||||
Off
|
<div class="col s6">
|
||||||
<input type="checkbox" class="disable-reviews" [checked]="adbService.diagnostics.usb && adbService.diagnostics.usb.is_mtp_enabled" (click)="adbService.toggleMTP()">
|
<h5 class="section-title">Set CPU and GPU level</h5>
|
||||||
<span class="lever disable-reviews-switch"></span>
|
<h4 class="description-section">
|
||||||
On
|
This can improve performance for apps & games at the expense of quicker battery draining and your device may get a little hotter than normal but totally within limits.
|
||||||
</label>
|
</h4>
|
||||||
</div>
|
<p>
|
||||||
<h4 class="description-section">
|
<label>
|
||||||
This allows you to transfer files between your computer and your headset using your favourite file explorer. You may need to re-enable this when you re-connect your headset.
|
<input name="cpuGpuLevel" type="radio" value="app-app" [(ngModel)]="cpuGpuLevel" (click)="setGPU(GPU._app)"/>
|
||||||
</h4>
|
<span>Set by App ( Default )</span>
|
||||||
<br>
|
</label>
|
||||||
|
</p>
|
||||||
|
<p>
|
||||||
|
<label>
|
||||||
|
<input name="cpuGpuLevel" type="radio" value="2-2" [(ngModel)]="cpuGpuLevel" (click)="setGPU(GPU._2)"/>
|
||||||
|
<span>Level 2</span>
|
||||||
|
</label>
|
||||||
|
</p>
|
||||||
|
<p>
|
||||||
|
<label>
|
||||||
|
<input name="cpuGpuLevel" type="radio" value="4-4" [(ngModel)]="cpuGpuLevel" (click)="setGPU(GPU._4)"/>
|
||||||
|
<span>Level 4</span>
|
||||||
|
</label>
|
||||||
|
</p>
|
||||||
|
<h5 class="section-title">Default Texture Size</h5>
|
||||||
|
<div class="description-section">
|
||||||
|
This will change how high quality some of the in game textures are rendered at.
|
||||||
|
</div>
|
||||||
|
<div class="inline margin-right">
|
||||||
|
<p>
|
||||||
|
<label>
|
||||||
|
<input name="textureSize" type="radio" value="1216-1344" [(ngModel)]="textureSize" (click)="setSSO(SSO._Quest1)"/>
|
||||||
|
<span>Default - Quest 1</span>
|
||||||
|
</label>
|
||||||
|
</p>
|
||||||
|
<p>
|
||||||
|
<label>
|
||||||
|
<input name="textureSize" type="radio" value="1440-1584" [(ngModel)]="textureSize" (click)="setSSO(SSO._Quest2)"/>
|
||||||
|
<span>Default - Quest 2</span>
|
||||||
|
</label>
|
||||||
|
</p>
|
||||||
|
<p>
|
||||||
|
<label>
|
||||||
|
<input name="textureSize" type="radio" value="512-563" [(ngModel)]="textureSize" (click)="setSSO(SSO._512)"/>
|
||||||
|
<span>512</span>
|
||||||
|
</label>
|
||||||
|
</p>
|
||||||
|
<p>
|
||||||
|
<label>
|
||||||
|
<input name="textureSize" type="radio" value="768-845" [(ngModel)]="textureSize" (click)="setSSO(SSO._768)"/>
|
||||||
|
<span>768</span>
|
||||||
|
</label>
|
||||||
|
</p>
|
||||||
|
<p>
|
||||||
|
<label>
|
||||||
|
<input name="textureSize" type="radio" value="1024-1127" [(ngModel)]="textureSize" (click)="setSSO(SSO._1024)"/>
|
||||||
|
<span>1024</span>
|
||||||
|
</label>
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
<div class="inline">
|
||||||
|
|
||||||
|
<p>
|
||||||
|
<label>
|
||||||
|
<input name="textureSize" type="radio" value="1280-1408" [(ngModel)]="textureSize" (click)="setSSO(SSO._1280)"/>
|
||||||
|
<span>1280</span>
|
||||||
|
</label>
|
||||||
|
</p>
|
||||||
|
<p>
|
||||||
|
<label>
|
||||||
|
<input name="textureSize" type="radio" value="1536-1690" [(ngModel)]="textureSize" (click)="setSSO(SSO._1536)"/>
|
||||||
|
<span>1536</span>
|
||||||
|
</label>
|
||||||
|
</p>
|
||||||
|
<p>
|
||||||
|
<label>
|
||||||
|
<input name="textureSize" type="radio" value="2048-2253" [(ngModel)]="textureSize" (click)="setSSO(SSO._2048)"/>
|
||||||
|
<span>2048</span>
|
||||||
|
</label>
|
||||||
|
</p>
|
||||||
|
<p>
|
||||||
|
<label>
|
||||||
|
<input name="textureSize" type="radio" value="2560-2816" [(ngModel)]="textureSize" (click)="setSSO(SSO._2560)"/>
|
||||||
|
<span>2560</span>
|
||||||
|
</label>
|
||||||
|
</p>
|
||||||
|
<p>
|
||||||
|
<label>
|
||||||
|
<input name="textureSize" type="radio" value="3072-3380" [(ngModel)]="textureSize" (click)="setSSO(SSO._3072)"/>
|
||||||
|
<span>3072</span>
|
||||||
|
</label>
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
|
||||||
<h3 class="section-title">Experimental Mode</h3>
|
<h5 class="section-title">Refresh Rate</h5>
|
||||||
<div class="switch">
|
<h4 class="description-section">This will allow you to change to 90Hz refresh rate for 90fps support in games on Quest 2.</h4>
|
||||||
<label>
|
<p>
|
||||||
Off
|
<label>
|
||||||
<input type="checkbox" class="disable-reviews" [checked]="experimentalEnabled"
|
<input name="refreshRate" type="radio" value="60" [(ngModel)]="refreshRate" (click)="setRR(RR._60)"/>
|
||||||
(click)="experimentalEnabled ? setExperimental(EXP.Off) : setExperimental(EXP.On);">
|
<span>60Hz</span>
|
||||||
<span class="lever disable-reviews-switch"></span>
|
</label>
|
||||||
On
|
</p>
|
||||||
</label>
|
<p>
|
||||||
</div>
|
<label>
|
||||||
<h4 class="description-section">
|
<input name="refreshRate" type="radio" value="72" [(ngModel)]="refreshRate" (click)="setRR(RR._72)"/>
|
||||||
This enables experimental features in your Oculus Quest such as Passthrough API support ( requires guardian to be enabled ).
|
<span>72Hz ( Default )</span>
|
||||||
</h4>
|
</label>
|
||||||
<br>
|
</p>
|
||||||
<h3 class="section-title">Refresh Rate</h3>
|
<p>
|
||||||
|
<label>
|
||||||
|
<input name="refreshRate" type="radio" value="90" [(ngModel)]="refreshRate" (click)="setRR(RR._90)"/>
|
||||||
|
<span>90Hz</span>
|
||||||
|
</label>
|
||||||
|
</p>
|
||||||
|
<p>
|
||||||
|
<label>
|
||||||
|
<input name="refreshRate" type="radio" value="120" [(ngModel)]="refreshRate" (click)="setRR(RR._120)"/>
|
||||||
|
<span>120Hz</span>
|
||||||
|
</label>
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
<div class="col s6">
|
||||||
|
|
||||||
<p>
|
<h5 class="section-title">
|
||||||
<label>
|
Set FFR ( Fixed Foveated Rendering ) level
|
||||||
<input name="group1" type="radio" value="60" [(ngModel)]="refreshRate" (click)="setRR(RR._60)"/>
|
</h5>
|
||||||
<span>60Hz</span>
|
|
||||||
</label>
|
|
||||||
</p>
|
|
||||||
<p>
|
|
||||||
<label>
|
|
||||||
<input name="group1" type="radio" value="72" [(ngModel)]="refreshRate" (click)="setRR(RR._72)"/>
|
|
||||||
<span>72Hz ( Default )</span>
|
|
||||||
</label>
|
|
||||||
</p>
|
|
||||||
<p>
|
|
||||||
<label>
|
|
||||||
<input name="group1" type="radio" value="90" [(ngModel)]="refreshRate" (click)="setRR(RR._90)"/>
|
|
||||||
<span>90Hz</span>
|
|
||||||
</label>
|
|
||||||
</p>
|
|
||||||
<p>
|
|
||||||
<label>
|
|
||||||
<input name="group1" type="radio" value="120" [(ngModel)]="refreshRate" (click)="setRR(RR._120)"/>
|
|
||||||
<span>120Hz</span>
|
|
||||||
</label>
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<h4 class="description-section">
|
<h4 class="description-section">
|
||||||
This will allow you to change to 90Hz refresh rate for 90fps support in games on Quest 2.<br>
|
This will change how the view is rendered in the outer edges of the viewscreen for each eye. Higher is better
|
||||||
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.
|
performance, lower is better quality.
|
||||||
</h4><br>
|
</h4>
|
||||||
<h3 class="section-title">Proximity Sensor</h3>
|
|
||||||
|
|
||||||
<div class="button-section">
|
<p>
|
||||||
<div class="pure-material-button-contained spaced flat active" (click)="disableProximity()">Disable Proximity Sensor</div>
|
<label>
|
||||||
</div>
|
<input name="fixedFoveatedRendering" type="radio" value="0" [(ngModel)]="fixedFoveatedRendering" (click)="setFFR(FFR.OFF)"/>
|
||||||
<h4 class="description-section">
|
<span>Off</span>
|
||||||
This disables the proximity sensor effectively keeping your quest awake when not on your head ( requires restart to re-enable ).
|
</label>
|
||||||
</h4><br>
|
</p>
|
||||||
|
<p>
|
||||||
<h3 class="section-title">Guardian</h3>
|
<label>
|
||||||
<div class="switch">
|
<input name="fixedFoveatedRendering" type="radio" value="1" [(ngModel)]="fixedFoveatedRendering" (click)="setFFR(FFR.LOW)"/>
|
||||||
<label>
|
<span>Low</span>
|
||||||
Off
|
</label>
|
||||||
<input type="checkbox" class="disable-reviews" [checked]="!guardianEnabled" (click)="guardianEnabled ? setGuardian(GU.ON) : setGuardian(GU.OFF)">
|
</p>
|
||||||
<span class="lever disable-reviews-switch"></span>
|
<p>
|
||||||
On
|
<label>
|
||||||
</label>
|
<input name="fixedFoveatedRendering" type="radio" value="2" [(ngModel)]="fixedFoveatedRendering" (click)="setFFR(FFR.MEDIUM)"/>
|
||||||
|
<span>Medium ( Default )</span>
|
||||||
|
</label>
|
||||||
|
</p>
|
||||||
|
<p>
|
||||||
|
<label>
|
||||||
|
<input name="fixedFoveatedRendering" type="radio" value="3" [(ngModel)]="fixedFoveatedRendering" (click)="setFFR(FFR.HIGH)"/>
|
||||||
|
<span>High</span>
|
||||||
|
</label>
|
||||||
|
</p>
|
||||||
|
<p>
|
||||||
|
<label>
|
||||||
|
<input name="fixedFoveatedRendering" type="radio" value="4" [(ngModel)]="fixedFoveatedRendering" (click)="setFFR(FFR.HIGH_TOP)"/>
|
||||||
|
<span>High Top</span>
|
||||||
|
</label>
|
||||||
|
</p>
|
||||||
|
<h5 class="section-title">Chromatic Aberration</h5>
|
||||||
|
<h4 class="description-section">
|
||||||
|
This will enable/disable chromatic aberration.
|
||||||
|
</h4>
|
||||||
|
<p>
|
||||||
|
<label>
|
||||||
|
<input name="chromaticAberration" type="radio" value="1" [(ngModel)]="chromaticAberration" (click)="setCa(CA.ON)"/>
|
||||||
|
<span>On ( Default )</span>
|
||||||
|
</label>
|
||||||
|
</p>
|
||||||
|
<p>
|
||||||
|
<label>
|
||||||
|
<input name="chromaticAberration" type="radio" value="0" [(ngModel)]="chromaticAberration" (click)="setCa(CA.OFF)"/>
|
||||||
|
<span>Off</span>
|
||||||
|
</label>
|
||||||
|
</p>
|
||||||
|
<p>
|
||||||
|
<label>
|
||||||
|
<input name="chromaticAberration" type="radio" value="-1" [(ngModel)]="chromaticAberration" (click)="setCa(CA.APP)"/>
|
||||||
|
<span>App Selected</span>
|
||||||
|
</label>
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<h4 class="description-section">
|
<h4 class="section-title">Streaming & Video</h4>
|
||||||
This will enable/disable the guardian.
|
|
||||||
</h4><br>
|
|
||||||
|
|
||||||
<h3 class="section-title">Set CPU and GPU level</h3>
|
<div class="section-container card z-depth-2">
|
||||||
|
|
||||||
|
<div class="row">
|
||||||
|
<div class="col s6">
|
||||||
|
|
||||||
|
<h5 class="section-title">Tetiana's Presets</h5>
|
||||||
|
|
||||||
|
<h4 class="description-section">
|
||||||
|
Quickly set the video capture resolution while also using 60 FPS and 10Mbps bitrate capture settings too.
|
||||||
|
</h4>
|
||||||
|
<div class="button-section">
|
||||||
|
<div class="pure-material-button-contained spaced flat active" (click)="setTetianasPreset(TP._FHD)">Full HD ( 1920 x 1080 )</div>
|
||||||
|
<div class="pure-material-button-contained spaced flat active" (click)="setTetianasPreset(TP._SQUARE)">Square ( 1600 x 1600 )</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<h5 class="section-title">Video Capture Size</h5>
|
||||||
|
|
||||||
|
<h4 class="description-section">
|
||||||
|
This changes the resolution of captured videos on the Quest
|
||||||
|
</h4>
|
||||||
|
<p>
|
||||||
|
<label>
|
||||||
|
<input name="videoCaptureSize" type="radio" value="640-480" [(ngModel)]="videoCaptureSize" (click)="setCR(CR._480)"/>
|
||||||
|
<span>640 x 480</span>
|
||||||
|
</label>
|
||||||
|
</p>
|
||||||
|
<p>
|
||||||
|
<label>
|
||||||
|
<input name="videoCaptureSize" type="radio" value="1280-720" [(ngModel)]="videoCaptureSize" (click)="setCR(CR._720)"/>
|
||||||
|
<span>1280 x 720</span>
|
||||||
|
</label>
|
||||||
|
</p>
|
||||||
|
<p>
|
||||||
|
<label>
|
||||||
|
<input name="videoCaptureSize" type="radio" value="1920-1080" [(ngModel)]="videoCaptureSize" (click)="setCR(CR._1080)"/>
|
||||||
|
<span>1920 x 1080</span>
|
||||||
|
</label>
|
||||||
|
</p>
|
||||||
|
<p>
|
||||||
|
<label>
|
||||||
|
<input name="videoCaptureSize" type="radio" value="1024-1024" [(ngModel)]="videoCaptureSize" (click)="setCR(CR._1024)"/>
|
||||||
|
<span>1024 X 1024 ( Default )</span>
|
||||||
|
</label>
|
||||||
|
</p>
|
||||||
|
<p>
|
||||||
|
<label>
|
||||||
|
<input name="videoCaptureSize" type="radio" value="1600-1600" [(ngModel)]="videoCaptureSize" (click)="setCR(CR._1600)"/>
|
||||||
|
<span>1600 X 1600</span>
|
||||||
|
</label>
|
||||||
|
</p>
|
||||||
|
|
||||||
|
<!-- <h5 class="section-title">Full Rate Capture</h5>-->
|
||||||
|
<!-- <h4 class="description-section">-->
|
||||||
|
<!-- This will enable/disable the full rate capture for videos recorded i.e. 60/72fps rather than 30fps.-->
|
||||||
|
<!-- </h4>-->
|
||||||
|
<!-- <div class="switch">-->
|
||||||
|
<!-- <label>-->
|
||||||
|
<!-- Off-->
|
||||||
|
<!-- <input type="checkbox" class="disable-reviews" [checked]="fullRateCaptureEnabled" (click)="fullRateCaptureEnabled ? setFullRate(GU.OFF) : setFullRate(GU.ON)">-->
|
||||||
|
<!-- <span class="lever disable-reviews-switch"></span>-->
|
||||||
|
<!-- On-->
|
||||||
|
<!-- </label>-->
|
||||||
|
<!-- </div>-->
|
||||||
|
</div>
|
||||||
|
<div class="col s6">
|
||||||
|
|
||||||
|
|
||||||
|
<h5 class="section-title">Video Capture FPS</h5>
|
||||||
|
|
||||||
|
<h4 class="description-section">
|
||||||
|
This changes the frame rate of captured videos on the Quest
|
||||||
|
</h4>
|
||||||
|
<p>
|
||||||
|
<label>
|
||||||
|
<input name="captureFps" type="radio" value="24" [(ngModel)]="captureFps" (click)="setCaptureFPSRate(FPS._24)"/>
|
||||||
|
<span>24fps</span>
|
||||||
|
</label>
|
||||||
|
</p>
|
||||||
|
<p>
|
||||||
|
<label>
|
||||||
|
<input name="captureFps" type="radio" value="30" [(ngModel)]="captureFps" (click)="setCaptureFPSRate(FPS._30)"/>
|
||||||
|
<span>30fps</span>
|
||||||
|
</label>
|
||||||
|
</p>
|
||||||
|
<p>
|
||||||
|
<label>
|
||||||
|
<input name="captureFps" type="radio" value="60" [(ngModel)]="captureFps" (click)="setCaptureFPSRate(FPS._60)"/>
|
||||||
|
<span>60fps</span>
|
||||||
|
</label>
|
||||||
|
</p>
|
||||||
|
|
||||||
|
<h5 class="section-title">Video Capture Bitrate</h5>
|
||||||
|
|
||||||
|
<h4 class="description-section">
|
||||||
|
This changes the quality of captured videos on the Quest
|
||||||
|
</h4>
|
||||||
|
<p>
|
||||||
|
<label>
|
||||||
|
<input name="captureBitrate" type="radio" value="5000000" [(ngModel)]="captureBitrate" (click)="setCaptureBitrate(BR._5K)"/>
|
||||||
|
<span>5mbps</span>
|
||||||
|
</label>
|
||||||
|
</p>
|
||||||
|
<p>
|
||||||
|
<label>
|
||||||
|
<input name="captureBitrate" type="radio" value="10000000" [(ngModel)]="captureBitrate" (click)="setCaptureBitrate(BR._10K)"/>
|
||||||
|
<span>10mbps</span>
|
||||||
|
</label>
|
||||||
|
</p>
|
||||||
|
<p>
|
||||||
|
<label>
|
||||||
|
<input name="captureBitrate" type="radio" value="15000000" [(ngModel)]="captureBitrate" (click)="setCaptureBitrate(BR._15K)"/>
|
||||||
|
<span>15mbps</span>
|
||||||
|
</label>
|
||||||
|
</p>
|
||||||
|
<p>
|
||||||
|
<label>
|
||||||
|
<input name="captureBitrate" type="radio" value="20000000" [(ngModel)]="captureBitrate" (click)="setCaptureBitrate(BR._20K)"/>
|
||||||
|
<span>20mbps</span>
|
||||||
|
</label>
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<h4 class="section-title">Experimental & Miscellaneous </h4>
|
||||||
|
<div class="section-container card z-depth-2">
|
||||||
|
|
||||||
|
<h5 class="section-title">Experimental Mode</h5>
|
||||||
|
<h4 class="description-section">
|
||||||
|
This enables experimental features in your Oculus Quest such as Passthrough API support ( requires guardian to be enabled ).
|
||||||
|
</h4>
|
||||||
|
<div class="switch">
|
||||||
|
<label>
|
||||||
|
Off
|
||||||
|
<input type="checkbox" class="disable-reviews" [checked]="experimentalEnabled"
|
||||||
|
(click)="experimentalEnabled ? setExperimental(EXP.Off) : setExperimental(EXP.On);">
|
||||||
|
<span class="lever disable-reviews-switch"></span>
|
||||||
|
On
|
||||||
|
</label>
|
||||||
|
</div>
|
||||||
|
<h5 class="section-title">MTP ( Media Transfer Protocol )</h5>
|
||||||
|
<h4 class="description-section">
|
||||||
|
This allows you to transfer files between your computer and your headset using your favourite file explorer. You may need to re-enable this when you re-connect your headset.
|
||||||
|
</h4>
|
||||||
|
<div class="switch">
|
||||||
|
<label>
|
||||||
|
Off
|
||||||
|
<input type="checkbox" class="disable-reviews" [checked]="adbService.diagnostics.usb && adbService.diagnostics.usb.is_mtp_enabled" (click)="adbService.toggleMTP()">
|
||||||
|
<span class="lever disable-reviews-switch"></span>
|
||||||
|
On
|
||||||
|
</label>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<h5 class="section-title">Proximity Sensor</h5>
|
||||||
|
|
||||||
|
<h4 class="description-section">
|
||||||
|
This disables the proximity sensor effectively keeping your quest awake when not on your head ( requires restart to re-enable ).
|
||||||
|
</h4>
|
||||||
|
<div class="button-section">
|
||||||
|
<div class="pure-material-button-contained spaced flat active" (click)="disableProximity()">Disable Proximity Sensor</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<h5 class="section-title">Guardian</h5>
|
||||||
|
<h4 class="description-section">
|
||||||
|
This will enable/disable the guardian.
|
||||||
|
</h4>
|
||||||
|
<div class="switch">
|
||||||
|
<label>
|
||||||
|
Off
|
||||||
|
<input type="checkbox" class="disable-reviews" [checked]="!guardianEnabled" (click)="guardianEnabled ? setGuardian(GU.ON) : setGuardian(GU.OFF)">
|
||||||
|
<span class="lever disable-reviews-switch"></span>
|
||||||
|
On
|
||||||
|
</label>
|
||||||
|
</div>
|
||||||
|
|
||||||
<p>
|
|
||||||
<label>
|
|
||||||
<input name="group5" type="radio" value="app-app" [(ngModel)]="cpuGpuLevel" (click)="setGPU(GPU._app)"/>
|
|
||||||
<span>Set by App ( Default )</span>
|
|
||||||
</label>
|
|
||||||
</p>
|
|
||||||
<p>
|
|
||||||
<label>
|
|
||||||
<input name="group5" type="radio" value="2-2" [(ngModel)]="cpuGpuLevel" (click)="setGPU(GPU._2)"/>
|
|
||||||
<span>Level 2</span>
|
|
||||||
</label>
|
|
||||||
</p>
|
|
||||||
<p>
|
|
||||||
<label>
|
|
||||||
<input name="group5" type="radio" value="4-4" [(ngModel)]="cpuGpuLevel" (click)="setGPU(GPU._4)"/>
|
|
||||||
<span>Level 4</span>
|
|
||||||
</label>
|
|
||||||
</p>
|
|
||||||
<h4 class="description-section">
|
|
||||||
This can improve performance for 2D apps & games at the cost of draining your battery quicker and your device may get a little hotter than normal but totally within limits.
|
|
||||||
</h4><br>
|
|
||||||
<h3 class="section-title">Default Texture Size</h3>
|
|
||||||
<div class="description-section">
|
|
||||||
This will change how high quality some of the in game textures are rendered at.
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<p>
|
|
||||||
<label>
|
|
||||||
<input name="group6" type="radio" value="1216-1344" [(ngModel)]="textureSize" (click)="setSSO(SSO._Quest1)"/>
|
|
||||||
<span>Default - Quest 1</span>
|
|
||||||
</label>
|
|
||||||
</p>
|
|
||||||
<p>
|
|
||||||
<label>
|
|
||||||
<input name="group6" type="radio" value="1440-1584" [(ngModel)]="textureSize" (click)="setSSO(SSO._Quest2)"/>
|
|
||||||
<span>Default - Quest 2</span>
|
|
||||||
</label>
|
|
||||||
</p>
|
|
||||||
<p>
|
|
||||||
<label>
|
|
||||||
<input name="group6" type="radio" value="512-563" [(ngModel)]="textureSize" (click)="setSSO(SSO._512)"/>
|
|
||||||
<span>512</span>
|
|
||||||
</label>
|
|
||||||
</p>
|
|
||||||
<p>
|
|
||||||
<label>
|
|
||||||
<input name="group6" type="radio" value="768-845" [(ngModel)]="textureSize" (click)="setSSO(SSO._768)"/>
|
|
||||||
<span>768</span>
|
|
||||||
</label>
|
|
||||||
</p>
|
|
||||||
<p>
|
|
||||||
<label>
|
|
||||||
<input name="group6" type="radio" value="1024-1127" [(ngModel)]="textureSize" (click)="setSSO(SSO._1024)"/>
|
|
||||||
<span>1024</span>
|
|
||||||
</label>
|
|
||||||
</p>
|
|
||||||
<p>
|
|
||||||
<label>
|
|
||||||
<input name="group6" type="radio" value="1280-1408" [(ngModel)]="textureSize" (click)="setSSO(SSO._1280)"/>
|
|
||||||
<span>1280</span>
|
|
||||||
</label>
|
|
||||||
</p>
|
|
||||||
<p>
|
|
||||||
<label>
|
|
||||||
<input name="group6" type="radio" value="1536-1690" [(ngModel)]="textureSize" (click)="setSSO(SSO._1536)"/>
|
|
||||||
<span>1536</span>
|
|
||||||
</label>
|
|
||||||
</p>
|
|
||||||
<p>
|
|
||||||
<label>
|
|
||||||
<input name="group6" type="radio" value="2048-2253" [(ngModel)]="textureSize" (click)="setSSO(SSO._2048)"/>
|
|
||||||
<span>2048</span>
|
|
||||||
</label>
|
|
||||||
</p>
|
|
||||||
<p>
|
|
||||||
<label>
|
|
||||||
<input name="group6" type="radio" value="2560-2816" [(ngModel)]="textureSize" (click)="setSSO(SSO._2560)"/>
|
|
||||||
<span>2560</span>
|
|
||||||
</label>
|
|
||||||
</p>
|
|
||||||
<p>
|
|
||||||
<label>
|
|
||||||
<input name="group6" type="radio" value="3072-3380" [(ngModel)]="textureSize" (click)="setSSO(SSO._3072)"/>
|
|
||||||
<span>3072</span>
|
|
||||||
</label>
|
|
||||||
</p><h3 class="section-title">Chromatic Aberration</h3>
|
|
||||||
|
|
||||||
<p>
|
<h4 class="section-title">SideQuest Stuff </h4>
|
||||||
<label>
|
<div class="section-container card z-depth-2">
|
||||||
<input name="group2" type="radio" value="1" [(ngModel)]="chromaticAberration" (click)="setCa(CA.ON)"/>
|
|
||||||
<span>On ( Default )</span>
|
<h5 class="section-title">SideQuest Folders</h5>
|
||||||
</label>
|
<h4 class="description-section">
|
||||||
</p>
|
This changes the resolution of captured videos on the Quest
|
||||||
<p>
|
</h4>
|
||||||
<label>
|
|
||||||
<input name="group2" type="radio" value="0" [(ngModel)]="chromaticAberration" (click)="setCa(CA.OFF)"/>
|
<div class="button-section">
|
||||||
<span>Off</span>
|
<div class="pure-material-button-contained spaced flat active" (click)="appService.openFolder(folder.MAIN)">Open Main App Folder</div>
|
||||||
</label>
|
<div class="pure-material-button-contained spaced flat active" (click)="appService.openFolder(folder.APK_BACKUPS)">Open APK Backup Folder</div>
|
||||||
</p>
|
<div class="pure-material-button-contained spaced flat active" (click)="appService.openFolder(folder.ADB)">Open ADB Folder</div>
|
||||||
<p>
|
</div>
|
||||||
<label>
|
|
||||||
<input name="group2" type="radio" value="-1" [(ngModel)]="chromaticAberration" (click)="setCa(CA.APP)"/>
|
<h5 class="section-title">SideQuest Debugger</h5>
|
||||||
<span>App Selected</span>
|
|
||||||
</label>
|
<h4 class="description-section">
|
||||||
</p>
|
Open the SideQuest chromium dev tools.
|
||||||
<h4 class="description-section">
|
</h4>
|
||||||
This will enable/disable chromatic aberration.
|
<div class="button-section">
|
||||||
</h4><br>
|
<div class="pure-material-button-contained spaced flat active" (click)="openDebugger()">Open SideQuest Debugger</div>
|
||||||
<h3 class="section-title">Full Rate Capture</h3>
|
</div>
|
||||||
<div class="switch">
|
|
||||||
<label>
|
|
||||||
Off
|
|
||||||
<input type="checkbox" class="disable-reviews" [checked]="fullRateCaptureEnabled" (click)="fullRateCaptureEnabled ? setFullRate(GU.OFF) : setFullRate(GU.ON)">
|
|
||||||
<span class="lever disable-reviews-switch"></span>
|
|
||||||
On
|
|
||||||
</label>
|
|
||||||
</div>
|
</div>
|
||||||
<h4 class="description-section">
|
|
||||||
This will enable/disable the full rate capture for videos recorded i.e. 60/72fps rather than 30fps.
|
|
||||||
</h4><br>
|
|
||||||
<h3 class="section-title">
|
|
||||||
Set FFR ( Fixed Foveated Rendering ) level
|
|
||||||
</h3>
|
|
||||||
<p>
|
|
||||||
<label>
|
|
||||||
<input name="group3" type="radio" value="0" [(ngModel)]="fixedFoveatedRendering" (click)="setFFR(FFR.OFF)"/>
|
|
||||||
<span>Off</span>
|
|
||||||
</label>
|
|
||||||
</p>
|
|
||||||
<p>
|
|
||||||
<label>
|
|
||||||
<input name="group3" type="radio" value="1" [(ngModel)]="fixedFoveatedRendering" (click)="setFFR(FFR.LOW)"/>
|
|
||||||
<span>Low</span>
|
|
||||||
</label>
|
|
||||||
</p>
|
|
||||||
<p>
|
|
||||||
<label>
|
|
||||||
<input name="group3" type="radio" value="2" [(ngModel)]="fixedFoveatedRendering" (click)="setFFR(FFR.MEDIUM)"/>
|
|
||||||
<span>Medium ( Default )</span>
|
|
||||||
</label>
|
|
||||||
</p>
|
|
||||||
<p>
|
|
||||||
<label>
|
|
||||||
<input name="group3" type="radio" value="3" [(ngModel)]="fixedFoveatedRendering" (click)="setFFR(FFR.HIGH)"/>
|
|
||||||
<span>High</span>
|
|
||||||
</label>
|
|
||||||
</p>
|
|
||||||
<p>
|
|
||||||
<label>
|
|
||||||
<input name="group3" type="radio" value="4" [(ngModel)]="fixedFoveatedRendering" (click)="setFFR(FFR.HIGH_TOP)"/>
|
|
||||||
<span>High Top</span>
|
|
||||||
</label>
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<h4 class="description-section">
|
|
||||||
This will change how the view is rendered in the outer edges of the viewscreen for each eye. Higher is better
|
|
||||||
performance, lower is better quality. This gets reset when you reboot the device.
|
|
||||||
</h4><br>
|
|
||||||
<h3 class="section-title">Set Video Capture Size</h3>
|
|
||||||
|
|
||||||
<p>
|
|
||||||
<label>
|
|
||||||
<input name="group4" type="radio" value="640-480" [(ngModel)]="videoCaptureSize" (click)="setCR(CR._480)"/>
|
|
||||||
<span>640 x 480</span>
|
|
||||||
</label>
|
|
||||||
</p>
|
|
||||||
<p>
|
|
||||||
<label>
|
|
||||||
<input name="group4" type="radio" value="1280-720" [(ngModel)]="videoCaptureSize" (click)="setCR(CR._720)"/>
|
|
||||||
<span>1280 x 720</span>
|
|
||||||
</label>
|
|
||||||
</p>
|
|
||||||
<p>
|
|
||||||
<label>
|
|
||||||
<input name="group4" type="radio" value="1920-1080" [(ngModel)]="videoCaptureSize" (click)="setCR(CR._1080)"/>
|
|
||||||
<span>1920 x 1080</span>
|
|
||||||
</label>
|
|
||||||
</p>
|
|
||||||
<p>
|
|
||||||
<label>
|
|
||||||
<input name="group4" type="radio" value="1024-1024" [(ngModel)]="videoCaptureSize" (click)="setCR(CR._1024)"/>
|
|
||||||
<span>1024 X 1024 ( Default )</span>
|
|
||||||
</label>
|
|
||||||
</p>
|
|
||||||
<h4 class="description-section">
|
|
||||||
This changes the resolution of captured videos on the Quest
|
|
||||||
</h4><br>
|
|
||||||
|
|
||||||
<h3 class="section-title">SideQuest Folders</h3>
|
|
||||||
|
|
||||||
<div class="button-section">
|
|
||||||
<div class="pure-material-button-contained spaced flat active" (click)="appService.openFolder(folder.MAIN)">Open Main App Folder</div>
|
|
||||||
<div class="pure-material-button-contained spaced flat active" (click)="appService.openFolder(folder.APK_BACKUPS)">Open APK Backup Folder</div>
|
|
||||||
<div class="pure-material-button-contained spaced flat active" (click)="appService.openFolder(folder.ADB)">Open ADB Folder</div>
|
|
||||||
</div>
|
|
||||||
<h4 class="description-section">
|
|
||||||
This changes the resolution of captured videos on the Quest
|
|
||||||
</h4><br>
|
|
||||||
|
|
||||||
<h3 class="section-title">SideQuest Debugger</h3>
|
|
||||||
|
|
||||||
<div class="button-section">
|
|
||||||
<div class="pure-material-button-contained spaced flat active" (click)="openDebugger()">Open SideQuest Debugger</div>
|
|
||||||
</div>
|
|
||||||
<h4 class="description-section">
|
|
||||||
Open the SideQuest chromium dev tools.
|
|
||||||
</h4><br>
|
|
||||||
|
|
||||||
|
|
||||||
<div class="side-quest-version">
|
<div class="side-quest-version">
|
||||||
|
|||||||
@@ -10,4 +10,11 @@
|
|||||||
|
|
||||||
.description-section{
|
.description-section{
|
||||||
font-size: 0.9rem;
|
font-size: 0.9rem;
|
||||||
|
line-height: 1.5em;
|
||||||
|
}
|
||||||
|
.section-container{
|
||||||
|
padding: 20px 40px 30px;
|
||||||
|
//border: 1px solid white;
|
||||||
|
//border-radius: 5px;
|
||||||
|
background: #1a1d3c;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -41,20 +41,12 @@ enum SSO {
|
|||||||
_Quest1,
|
_Quest1,
|
||||||
_Quest2,
|
_Quest2,
|
||||||
}
|
}
|
||||||
enum SVR {
|
|
||||||
_1024,
|
|
||||||
_1536,
|
|
||||||
}
|
|
||||||
enum CR {
|
enum CR {
|
||||||
_480,
|
_480,
|
||||||
_720,
|
_720,
|
||||||
_1080,
|
_1080,
|
||||||
_1024,
|
_1024,
|
||||||
}
|
_1600,
|
||||||
enum SVB {
|
|
||||||
_5Mbps,
|
|
||||||
_15Mbps,
|
|
||||||
_25Mbps,
|
|
||||||
}
|
}
|
||||||
enum RR {
|
enum RR {
|
||||||
_60,
|
_60,
|
||||||
@@ -63,6 +55,22 @@ enum RR {
|
|||||||
_90,
|
_90,
|
||||||
_120,
|
_120,
|
||||||
}
|
}
|
||||||
|
enum FPS {
|
||||||
|
_24,
|
||||||
|
_30,
|
||||||
|
_60,
|
||||||
|
}
|
||||||
|
enum BR {
|
||||||
|
_2K,
|
||||||
|
_5K,
|
||||||
|
_10K,
|
||||||
|
_15K,
|
||||||
|
_20K,
|
||||||
|
}
|
||||||
|
enum TP {
|
||||||
|
_FHD,
|
||||||
|
_SQUARE,
|
||||||
|
}
|
||||||
@Component({
|
@Component({
|
||||||
selector: 'app-headset-settings',
|
selector: 'app-headset-settings',
|
||||||
templateUrl: './headset-settings.component.html',
|
templateUrl: './headset-settings.component.html',
|
||||||
@@ -80,17 +88,19 @@ export class HeadsetSettingsComponent implements OnInit {
|
|||||||
videoCaptureSize: string;
|
videoCaptureSize: string;
|
||||||
cpuGpuLevel: string;
|
cpuGpuLevel: string;
|
||||||
textureSize: string;
|
textureSize: string;
|
||||||
|
captureFps: string;
|
||||||
|
captureBitrate: string;
|
||||||
FFR = FFR;
|
FFR = FFR;
|
||||||
SVR = SVR;
|
|
||||||
SVB = SVB;
|
|
||||||
SSO = SSO;
|
SSO = SSO;
|
||||||
GU = GU;
|
GU = GU;
|
||||||
CA = CA;
|
CA = CA;
|
||||||
CR = CR;
|
CR = CR;
|
||||||
GPU = GPU;
|
GPU = GPU;
|
||||||
FR = GU;
|
|
||||||
RR = RR;
|
RR = RR;
|
||||||
EXP = EXP;
|
EXP = EXP;
|
||||||
|
BR = BR;
|
||||||
|
FPS = FPS;
|
||||||
|
TP = TP;
|
||||||
constructor(public adbService: AdbClientService, public appService: AppService, private statusService: StatusBarService) {
|
constructor(public adbService: AdbClientService, public appService: AppService, private statusService: StatusBarService) {
|
||||||
this.appService.resetTop();
|
this.appService.resetTop();
|
||||||
appService.webService.isWebviewOpen = false;
|
appService.webService.isWebviewOpen = false;
|
||||||
@@ -116,7 +126,8 @@ export class HeadsetSettingsComponent implements OnInit {
|
|||||||
await this.getString('debug.oculus.refreshRate', '72', 'refreshRate');
|
await this.getString('debug.oculus.refreshRate', '72', 'refreshRate');
|
||||||
await this.getString('debug.oculus.forceChroma', '1', 'chromaticAberration');
|
await this.getString('debug.oculus.forceChroma', '1', 'chromaticAberration');
|
||||||
await this.getString('debug.oculus.foveation.level', '2', 'fixedFoveatedRendering');
|
await this.getString('debug.oculus.foveation.level', '2', 'fixedFoveatedRendering');
|
||||||
// await this.getString('debug.oculus.forceChroma', '1', 'videoCaptureSize');
|
await this.getString('debug.oculus.capture.fps', '24', 'captureFps');
|
||||||
|
await this.getString('debug.oculus.capture.bitrate', '5000000', 'captureBitrate');
|
||||||
await this.getDoubleString('debug.oculus.capture.width', 'debug.oculus.capture.height', '1024', '1024', 'videoCaptureSize');
|
await this.getDoubleString('debug.oculus.capture.width', 'debug.oculus.capture.height', '1024', '1024', 'videoCaptureSize');
|
||||||
await this.getDoubleString('debug.oculus.cpuLevel', 'debug.oculus.gpuLevel', 'app', 'app', 'cpuGpuLevel');
|
await this.getDoubleString('debug.oculus.cpuLevel', 'debug.oculus.gpuLevel', 'app', 'app', 'cpuGpuLevel');
|
||||||
await this.getDoubleString('debug.oculus.textureWidth', 'debug.oculus.textureHeight', '1440', '1584', 'textureSize');
|
await this.getDoubleString('debug.oculus.textureWidth', 'debug.oculus.textureHeight', '1440', '1584', 'textureSize');
|
||||||
@@ -209,14 +220,81 @@ export class HeadsetSettingsComponent implements OnInit {
|
|||||||
})
|
})
|
||||||
.catch(e => this.statusService.showStatus(e, true));
|
.catch(e => this.statusService.showStatus(e, true));
|
||||||
}
|
}
|
||||||
setFullRate(fullRate: GU) {
|
setCaptureFPSRate(fps: FPS) {
|
||||||
this.runAdbCommand('setprop debug.oculus.fullRateCapture ' + (fullRate === GU.ON ? 1 : 0))
|
let value = 0;
|
||||||
.then(() => {
|
switch (fps) {
|
||||||
this.statusService.showStatus('Full Rate Capture set OK!!');
|
case FPS._24:
|
||||||
return this.getBool('fullRateCaptureEnabled', 'debug.oculus.fullRateCapture');
|
value = 24;
|
||||||
|
break;
|
||||||
|
case FPS._30:
|
||||||
|
value = 30;
|
||||||
|
break;
|
||||||
|
case FPS._60:
|
||||||
|
value = 60;
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
this.runAdbCommand('setprop debug.oculus.capture.fps ' + value)
|
||||||
|
.then(async () => {
|
||||||
|
this.statusService.showStatus('Capture FPS set OK!!');
|
||||||
|
await this.getString('debug.oculus.capture.fps', '24', 'captureFps');
|
||||||
})
|
})
|
||||||
.catch(e => this.statusService.showStatus(e, true));
|
.catch(e => this.statusService.showStatus(e, true));
|
||||||
}
|
}
|
||||||
|
setCaptureBitrate(bitrate: BR) {
|
||||||
|
let value = 0;
|
||||||
|
switch (bitrate) {
|
||||||
|
case BR._5K:
|
||||||
|
value = 5000000;
|
||||||
|
break;
|
||||||
|
case BR._10K:
|
||||||
|
value = 10000000;
|
||||||
|
break;
|
||||||
|
case BR._15K:
|
||||||
|
value = 15000000;
|
||||||
|
break;
|
||||||
|
case BR._20K:
|
||||||
|
value = 20000000;
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
this.runAdbCommand('setprop debug.oculus.capture.bitrate ' + value)
|
||||||
|
.then(() => {
|
||||||
|
this.statusService.showStatus('Capture Bit Rate set OK!!');
|
||||||
|
return this.getString('debug.oculus.capture.bitrate', '5000000', 'captureBitrate');
|
||||||
|
})
|
||||||
|
.catch(e => this.statusService.showStatus(e, true));
|
||||||
|
}
|
||||||
|
setTetianasPreset(tp: TP) {
|
||||||
|
let width = 1920;
|
||||||
|
let height = 1080;
|
||||||
|
switch (tp) {
|
||||||
|
case TP._FHD:
|
||||||
|
width = 1920;
|
||||||
|
height = 1080;
|
||||||
|
break;
|
||||||
|
case TP._SQUARE:
|
||||||
|
width = 1600;
|
||||||
|
height = 1600;
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
this.runAdbCommand('setprop debug.oculus.capture.width ' + width)
|
||||||
|
.then(() => this.runAdbCommand('setprop debug.oculus.capture.height ' + height))
|
||||||
|
.then(() => this.runAdbCommand('setprop debug.oculus.capture.fps 60'))
|
||||||
|
.then(() => this.runAdbCommand('setprop debug.oculus.capture.bitrate 10000000'))
|
||||||
|
.then(async () => {
|
||||||
|
this.statusService.showStatus('Capture settings set OK!!');
|
||||||
|
await this.getString('debug.oculus.capture.bitrate', '5000000', 'captureBitrate');
|
||||||
|
await this.getString('debug.oculus.capture.fps', '24', 'captureFps');
|
||||||
|
await this.getDoubleString(
|
||||||
|
'debug.oculus.capture.width',
|
||||||
|
'debug.oculus.capture.height',
|
||||||
|
'1024',
|
||||||
|
'1024',
|
||||||
|
'videoCaptureSize'
|
||||||
|
);
|
||||||
|
})
|
||||||
|
.catch(e => this.statusService.showStatus(e, true));
|
||||||
|
console.log(this.videoCaptureSize);
|
||||||
|
}
|
||||||
setGuardian(guardian: GU) {
|
setGuardian(guardian: GU) {
|
||||||
this.runAdbCommand('setprop debug.oculus.guardian_pause ' + (guardian === GU.ON ? 0 : 1))
|
this.runAdbCommand('setprop debug.oculus.guardian_pause ' + (guardian === GU.ON ? 0 : 1))
|
||||||
.then(() => {
|
.then(() => {
|
||||||
@@ -326,28 +404,9 @@ export class HeadsetSettingsComponent implements OnInit {
|
|||||||
})
|
})
|
||||||
.catch(e => this.statusService.showStatus(e, true));
|
.catch(e => this.statusService.showStatus(e, true));
|
||||||
}
|
}
|
||||||
setSVB(svb: SVB) {
|
|
||||||
let value = 5000000;
|
|
||||||
switch (svb) {
|
|
||||||
case SVB._5Mbps:
|
|
||||||
value = 5000000;
|
|
||||||
break;
|
|
||||||
case SVB._15Mbps:
|
|
||||||
value = 15000000;
|
|
||||||
break;
|
|
||||||
case SVB._25Mbps:
|
|
||||||
value = 25000000;
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
this.runAdbCommand('setprop debug.oculus.videoBitrate ' + value)
|
|
||||||
.then(() => {
|
|
||||||
this.statusService.showStatus('Video Bitrate set OK!!');
|
|
||||||
})
|
|
||||||
.catch(e => this.statusService.showStatus(e, true));
|
|
||||||
}
|
|
||||||
setCR(svr: CR) {
|
setCR(svr: CR) {
|
||||||
let width = 1280;
|
let width = 1024;
|
||||||
let height = 720;
|
let height = 1024;
|
||||||
switch (svr) {
|
switch (svr) {
|
||||||
case CR._480:
|
case CR._480:
|
||||||
width = 640;
|
width = 640;
|
||||||
@@ -365,6 +424,10 @@ export class HeadsetSettingsComponent implements OnInit {
|
|||||||
width = 1024;
|
width = 1024;
|
||||||
height = 1024;
|
height = 1024;
|
||||||
break;
|
break;
|
||||||
|
case CR._1600:
|
||||||
|
width = 1600;
|
||||||
|
height = 1600;
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
this.runAdbCommand('setprop debug.oculus.capture.width ' + width)
|
this.runAdbCommand('setprop debug.oculus.capture.width ' + width)
|
||||||
.then(() => this.runAdbCommand('setprop debug.oculus.capture.height ' + height))
|
.then(() => this.runAdbCommand('setprop debug.oculus.capture.height ' + height))
|
||||||
|
|||||||
@@ -1,8 +1,9 @@
|
|||||||
<div class="container">
|
<div class="container">
|
||||||
|
|
||||||
<div *ngIf="!isConnected()">
|
<div *ngIf="!isConnected()" class="white-text">
|
||||||
<h4 class="text-dark-theme">
|
<br>You are not currently connected.
|
||||||
No device connected...</h4>
|
<br><br>
|
||||||
|
<div class="pure-material-button-contained" routerLink="/setup">Open Setup Instructions</div>
|
||||||
</div>
|
</div>
|
||||||
<div *ngIf="isConnected()">
|
<div *ngIf="isConnected()">
|
||||||
<div class="row">
|
<div class="row">
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ body {
|
|||||||
height: 100%;
|
height: 100%;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
background:#0c0c0c;
|
background:#12152d;
|
||||||
}
|
}
|
||||||
body{
|
body{
|
||||||
|
|
||||||
@@ -151,10 +151,8 @@ body{
|
|||||||
cursor:pointer;
|
cursor:pointer;
|
||||||
}
|
}
|
||||||
.section-title {
|
.section-title {
|
||||||
font-size: 2rem;
|
margin-top: 1em;
|
||||||
margin-top: 0.4em;
|
|
||||||
margin-left: 1em;
|
margin-left: 1em;
|
||||||
font-family: 'PT Sans', sans-serif;
|
|
||||||
}
|
}
|
||||||
.link,
|
.link,
|
||||||
.sort-link {
|
.sort-link {
|
||||||
@@ -271,7 +269,7 @@ code > pre, .code{
|
|||||||
.pure-material-button-contained.slim{
|
.pure-material-button-contained.slim{
|
||||||
padding: 5px 10px;
|
padding: 5px 10px;
|
||||||
height: 25px;
|
height: 25px;
|
||||||
line-height: 20px;
|
line-height: 17px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.pure-material-button-contained.tiny{
|
.pure-material-button-contained.tiny{
|
||||||
|
|||||||
Reference in New Issue
Block a user