-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
56 lines (49 loc) · 1.69 KB
/
index.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
<!DOCTYPE HTML>
<html>
<head>
<link rel="stylesheet" type="text/css" href="style.css">
</head>
<body>
<select id="controller_selector">
<option value="gamepad">gamepad</option>
<option value="pointer">pointer</option>
</select>
<h2 id="gyrobar"></h2>
<h2 id="statusbar"></h2>
<div>
<div id="gamepadController" class=controller>
<button class="button centerBlue" id="testws">ON</button>
<a class="centerButton" href="javascript:getPermission()">Give Permissions</a>
<div class=controllerLeft>
<div class=circle></div>
<div class=crossCenter>
<div class="crossTop bhl" id = up></div>
<div class="crossBottom bhl" id = down></div>
<div class="crossLeft bhl" id = left></div>
<div class="crossRight bhl" id = right></div>
</div>
</div>
<div class=controllerRight>
<div class=backButton1Center>
<div class= "cornerLeft1 rhs" id = green></div>
<div class= "cornerRight1 rhs" id = blue></div>
</div>
<div class=backButton2Center>
<div class= "cornerLeft2 rhs" id = yellow></div>
<div class= "cornerRight2 rhs" id = red></div>
</div>
</div>
</div>
</div>
<div style = "display: none;" id="pointerController">
<div style="width: 100%; display: table;">
<div style="display: table-row">
<div id = "leftclicker" class = "half" > Left </div>
<div id = "rightclicker" class = "half"> Right </div>
</div>
</div>
<div id="scrollarea">Scroll Area</div>
</div>
</body>
<script src = "index.js"></script>
</html>