-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathsettings.html
More file actions
84 lines (84 loc) · 3.43 KB
/
settings.html
File metadata and controls
84 lines (84 loc) · 3.43 KB
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
<html>
<head>
<style>
body {
width: 200px;
text-align: center;
margin: 0;
}
input {
width: 80%;
}
.logo-container {
margin-bottom: 4px;
color: #ffffff;
background-color: #ff7f2a;
padding: 10px;
}
.option {
margin-bottom: 4px;
}
</style>
</head>
<body>
<div class="logo-container">
<img src="img/ts-text-64.png">
<span id="version">?.?.?</span>
</div>
<div id="first-run-notification">
If you already have Stadia open, you must refresh the window before TouchStadia will function.
<button type="button" id="first-run-notification-close-button">I understand</button>
</div>
<div id="settings">
<div class="option">
<label for="stick-radius">Stick radius</label>
<input type="number" id="stick-radius">
</div>
<div class="option">
<label for="button-diameter">Button diameter</label>
<input type="number" id="button-diameter">
</div>
<div class="option">
<label for="button-border-left-offset">Left offset</label>
<input type="number" id="button-border-left-offset" class="disable-if-layout">
</div>
<div class="option">
<label for="button-border-right-offset">Right offset</label>
<input type="number" id="button-border-right-offset" class="disable-if-layout">
</div>
<div class="option">
<label for="button-border-top-offset">Top offset</label>
<input type="number" id="button-border-top-offset" class="disable-if-layout">
</div>
<div class="option">
<label for="button-border-bottom-offset">Bottom offset</label>
<input type="number" id="button-border-bottom-offset" class="disable-if-layout">
</div>
<div class="option">
<label for="opacity">Opacity (0-255)</label>
<input type="number" id="opacity" min="0" max="255">
</div>
<div class="option">
<label for="enable-colors">Enable colors</label>
<input type="checkbox" id="enable-colors">
</div>
<div class="option">
<label for="enable-draw-sticks">Draw sticks (causes lag)</label>
<input type="checkbox" id="enable-draw-sticks">
</div>
<div class="option">
<label for="disable-touchstadia">Disable TouchStadia</label>
<input type="checkbox" id="disable-touchstadia">
</div>
<div class="option">
<label for="apply-button">Apply changes (causes refresh)</label>
<button type="button" id="apply-button">Apply</button>
</div>
<div class="option" id="reset-button-config-control" style="display:none;">
<label for="reset-button-config-button">Reset manual layout (causes refresh)</label>
<button type="button" id="reset-button-config-button">Reset</button>
</div>
</div>
<script src="settings.js"></script>
</body>
</html>