-
Notifications
You must be signed in to change notification settings - Fork 0
/
hz.html
151 lines (150 loc) · 8.61 KB
/
hz.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Quest Hz Commands</title>
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="description" content="Quest Hz Commands" />
<meta property="og:title" content="Quest Hz Commands">
<meta property="og:description" content="Quest Hz Commands">
<meta property="og:image" content="https://twhlynch.me/Web-ADB-Menu/favicon.gif">
<meta property="og:url" content="https://twhlynch.me/Web-ADB-Menu/hz">
<meta property="og:type" content="website">
<link rel="shortcut icon" href="favicon.gif" type="image/x-icon">
<script async src="https://www.googletagmanager.com/gtag/js?id=G-BDS57RBQ3Q"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'G-BDS57RBQ3Q');
</script>
<link rel="stylesheet" href="static/hz.css">
</head>
<body>
<header>
<h1>Hz Commands</h1>
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" id="help">
<path stroke-linecap="round" stroke-linejoin="round" d="M9.879 7.519c1.171-1.025 3.071-1.025 4.242 0 1.172 1.025 1.172 2.687 0 3.712-.203.179-.43.326-.67.442-.745.361-1.45.999-1.45 1.827v.75M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Zm-9 5.25h.008v.008H12v-.008Z" />
</svg>
</header>
<hr>
<main>
<div><span>120</span><br>
<code>adb shell setprop debug.oculus.refreshRate 120 && adb shell setprop debug.oculus.swapInterval 1</code><br></div>
<div><span>100</span><br>
<code>adb shell setprop debug.oculus.refreshRate 100 && adb shell setprop debug.oculus.swapInterval 1</code><br></div>
<div><span>90</span><br>
<code>adb shell setprop debug.oculus.refreshRate 90 && adb shell setprop debug.oculus.swapInterval 1</code><br></div>
<div><span>80</span><br>
<code>adb shell setprop debug.oculus.refreshRate 80 && adb shell setprop debug.oculus.swapInterval 1</code><br></div>
<div><span>72</span><br>
<code>adb shell setprop debug.oculus.refreshRate 72 && adb shell setprop debug.oculus.swapInterval 1</code><br></div>
<div><span>69</span><br>
<code>adb shell setprop debug.oculus.refreshRate 69 && adb shell setprop debug.oculus.swapInterval 1</code><br></div>
<div><span>60</span><br>
<code>adb shell setprop debug.oculus.refreshRate 60 && adb shell setprop debug.oculus.swapInterval 1</code><br></div>
<div><span>45</span><br>
<code>adb shell setprop debug.oculus.refreshRate 45 && adb shell setprop debug.oculus.swapInterval 1</code><br></div>
<div><span>45 alt 1</span><br>
<code>adb shell setprop debug.oculus.refreshRate 90 && adb shell setprop debug.oculus.swapInterval 2</code><br></div>
<div><span>36</span><br>
<code>adb shell setprop debug.oculus.refreshRate 36 && adb shell setprop debug.oculus.swapInterval 1</code><br></div>
<div><span>36 alt 1</span><br>
<code>adb shell setprop debug.oculus.refreshRate 72 && adb shell setprop debug.oculus.swapInterval 2</code><br></div>
<div><span>20</span><br>
<code>adb shell setprop debug.oculus.refreshRate 20 && adb shell setprop debug.oculus.swapInterval 1</code><br></div>
<div><span>20 alt 1</span><br>
<code>adb shell setprop debug.oculus.refreshRate 60 && adb shell setprop debug.oculus.swapInterval 3</code><br></div>
<div><span>15</span><br>
<code>adb shell setprop debug.oculus.refreshRate 15 && adb shell setprop debug.oculus.swapInterval 1</code><br></div>
<div><span>15 alt 1</span><br>
<code>adb shell setprop debug.oculus.refreshRate 60 && adb shell setprop debug.oculus.swapInterval 4</code><br></div>
<div><span>10</span><br>
<code>adb shell setprop debug.oculus.refreshRate 10 && adb shell setprop debug.oculus.swapInterval 1</code><br></div>
<div><span>11.25</span><br>
<code>adb shell setprop debug.oculus.refreshRate 45 && adb shell setprop debug.oculus.swapInterval 4</code><br></div>
<div><span>5</span><br>
<code>adb shell setprop debug.oculus.refreshRate 5 && adb shell setprop debug.oculus.swapInterval 1</code><br></div>
<div><span>5 alt 1</span><br>
<code>adb shell setprop debug.oculus.refreshRate 50 && adb shell setprop debug.oculus.swapInterval 10</code><br></div>
<div><span>1</span><br>
<code>adb shell setprop debug.oculus.refreshRate 1 && adb shell setprop debug.oculus.swapInterval 1</code><br></div>
<div><span>1 alt 1</span><br>
<code>adb shell setprop debug.oculus.refreshRate 60 && adb shell setprop debug.oculus.swapInterval 60</code><br></div>
<div><span>0.5</span><br>
<code>adb shell setprop debug.oculus.refreshRate 60 && adb shell setprop debug.oculus.swapInterval 120</code><br></div>
<div><span>0.1</span><br>
<code>adb shell setprop debug.oculus.refreshRate 60 && adb shell setprop debug.oculus.swapInterval 600</code><br></div>
<div><span>0.001</span><br>
<code>adb shell setprop debug.oculus.refreshRate 60 && adb shell setprop debug.oculus.swapInterval 60000</code><br></div>
<div><span>unlimited</span><br>
<code>adb shell setprop debug.oculus.refreshRate 500 && adb shell setprop debug.oculus.swapInterval 0</code><br></div>
<div><span>unlimited alt 1</span><br>
<code>adb shell setprop debug.oculus.refreshRate 120 && adb shell setprop debug.oculus.swapInterval 0</code><br></div>
<div><span>144</span><br>
<code>adb shell setprop debug.oculus.refreshRate 144 && adb shell setprop debug.oculus.swapInterval 1</code><br></div>
<div><span>200</span><br>
<code>adb shell setprop debug.oculus.refreshRate 200 && adb shell setprop debug.oculus.swapInterval 1</code><br></div>
<div><span>200 alt 1</span><br>
<code>adb shell setprop debug.oculus.refreshRate 120 && adb shell setprop debug.oculus.swapInterval -1</code><br></div>
<div><span>200 alt 2</span><br>
<code>adb shell setprop debug.oculus.refreshRate 200 && adb shell setprop debug.oculus.swapInterval -1</code><br></div>
<div><span>200 alt 3</span><br>
<code>adb shell setprop debug.oculus.refreshRate 200 && adb shell setprop debug.oculus.swapInterval -8</code><br></div>
<div><span>Hardware boost</span><br>
<code>adb shell setprop debug.oculus.cpuLevel 5 && adb shell setprop debug.oculus.gpuLevel 5</code><br></div>
</main>
<div id="helpMenu">
<div>
<div id="x">x</div>
<h2>Usage</h2>
<p>Find and click the command you want to copy it.</p>
<h2>SideQuest</h2>
<p>Open SideQuest with your headset connected.</p>
<p>Click the top right button that looks like an arrow in a box.</p>
<p>Paste the command.</p>
<p>Click "RUN COMMAND".</p>
<h2>Developer Hub</h2>
<p>Open Meta Quest Developer Hub with your headset connected.</p>
<p>Click "Add command".</p>
<p>Paste the command into the command input and set the other info to whatever.</p>
<p>Run the command.</p>
<h2>ADB Shell</h2>
<p>Open a terminal window in the directory with the SDK with your headset connected.</p>
<p>Run ".\adb devices".</p>
<p>Paste the command into the terminal.</p>
<h2>After</h2>
<p>Sleep your headset.</p>
<p>Wake your headset.</p>
<p>Sometimes you may need to open a game to see an effect.</p>
<h2>Links</h2>
<a href="https://sidequestvr.com/setup-howto">SideQuest</a>
<a href="https://developer.oculus.com/meta-quest-developer-hub">Quest Dev Hub</a>
<a href="https://developer.android.com/tools/releases/platform-tools#downloads">ADB Shell (Android SDK)</a>
</div>
</div>
<script>
let codeElements = document.querySelectorAll('code');
codeElements.forEach((codeElement) => {
codeElement.addEventListener('click', () => {
navigator.clipboard.writeText(codeElement.innerText);
});
codeElement.addEventListener('click', () => {
codeElement.classList.add('clicked');
setTimeout(() => {
codeElement.classList.remove('clicked');
}, 200);
});
});
let help = document.getElementById('help');
let helpMenu = document.getElementById('helpMenu');
help.addEventListener('click', () => {
helpMenu.style.display = 'flex';
});
let x = document.getElementById('x');
x.addEventListener('click', () => {
helpMenu.style.display = 'none';
});
</script>
</body>
</html>