-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathgamepad_diagnostics.html
48 lines (43 loc) · 2.22 KB
/
gamepad_diagnostics.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
<!DOCTYPE html>
<html lang="en">
<head>
<title>HTML5 Gamepad Diagnostics Tool</title>
<meta charset="utf-8">
<!-- Search Engines -->
<meta name="description" content="Interactive Gamepad API diagnostics tool. Check if your device is compatible and retrieve the model, axes, buttons and other information for use with HTML5.">
<!-- Twitter -->
<meta name="twitter:card" content="summary">
<meta name="twitter:title" content="HTML5 Gamepad Diagnostics Tool">
<meta name="twitter:description" content="Interactive Gamepad API diagnostics tool. Check if your device is compatible and retrieve the model, axes, buttons and other information for use with HTML5.">
<meta name="twitter:image:src" content="https://www.soft8soft.com/gamepad_diagnostics/snes.jpg">
<!-- Open Graph -->
<meta property="og:title" content="HTML5 Gamepad Diagnostics Tool">
<meta property="og:description" content="Interactive Gamepad API diagnostics tool. Check if your device is compatible and retrieve the model, axes, buttons and other information for use with HTML5.">
<meta property="og:image" content="https://www.soft8soft.com/gamepad_diagnostics/snes.jpg">
<meta property="og:type" content="website">
<link rel="icon" type="image/png" href="icon.png" />
<script src="gamepad_diagnostics.js"></script>
<link rel="stylesheet" type="text/css" href="gamepad_diagnostics.css">
</head>
<body>
<h1>Gamepad Diagnostics Tool</h1>
<div>ID: <span id="gp_id"></div>
<div>Index: <span id="gp_index"></div>
<div>Mapping: <span id="gp_mapping"></div>
<div>Timestamp: <span id="gp_timestamp"></div>
<div>Axes: <span id="gp_axes_num"></div>
<div>Buttons: <span id="gp_buttons_num"></div>
<br>
<div id="gp_axes">
<span class="red">Please connect your gamepad device and press any key on it!</span>
<img src="https://www.soft8soft.com/gamepad_diagnostics/snes.jpg">
</div>
<br>
<div id="gp_buttons"></div>
<div class="footer">
<a href="https://github.com/Soft8Soft/gamepad-diagnostics/">GitHub Repo</a> |
<a href="https://www.w3.org/TR/gamepad/">HTML5 Spec</a> |
<a href="https://www.soft8soft.com/verge3d">Built for Verge3D</a>
</div>
</body>
</html>