This repository has been archived by the owner on Jan 31, 2023. It is now read-only.
forked from ihatecsv/ControlStadia
-
Notifications
You must be signed in to change notification settings - Fork 0
/
settings.html
79 lines (79 loc) · 2.77 KB
/
settings.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
<html>
<head>
<style>
body {
width: 350px;
text-align: center;
margin: 0;
}
.logo-container {
margin-bottom: 4px;
color: #ffffff;
background-color: #2ab5ff;
padding: 10px;
}
.option {
margin-bottom: 4px;
}
.control-table {
margin-bottom: 4px;
display: inline-block;
}
.small-input {
width: 64px;
}
.map-button-disabled {
pointer-events: none;
background-color: #aaa;
}
</style>
</head>
<body>
<div class="logo-container">
<img src="img/cs-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 ControlStadia will function.
<button type="button" id="first-run-notification-close-button">I understand</button>
</div>
<div id="settings">
<div id="finding-joysticks">
Finding joysticks...
</div>
<div id="joystick-settings" style="display: none;">
<div class="option">
<button type="button" id="gamepad-refresh-button">Refresh gamepads</button>
</div>
<div class="option">
<label for="gamepad-select">Select target gamepad</label>
<select id="gamepad-select"></select>
</div>
<table class="control-table">
<thead>
<tr>
<th>Control</td>
<th>Mapping</td>
<th>Scale</td>
<th>Offset</td>
</tr>
</thead>
<tbody id="control-list"></tbody>
</table>
</div>
<div class="option">
<label for="disable-controlstadia">Disable ControlStadia</label>
<input type="checkbox" id="disable-controlstadia">
</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">
<label for="reset-button">Reset settings (causes refresh)</label>
<button type="button" id="reset-button">Reset</button>
</div>
</div>
<script src="settings.js"></script>
</body>
</html>