This commit is contained in:
Robin Appelman 2022-09-10 16:46:33 +02:00
commit 96a8d88394
27 changed files with 204047 additions and 0 deletions

33
www/index.html Normal file
View file

@ -0,0 +1,33 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Demo buttons</title>
<style>
input[disabled] {
opacity: 0.5;
}
</style>
</head>
<body>
<noscript>This page contains webassembly and javascript content, please enable javascript in your browser.</noscript>
<script src="./bootstrap.js"></script>
<h1>Demo buttons</h1>
Get pressed buttons and triggered console commands from a demo
<p>Select a demo file below to begin processing, once processed a text file will be presented as download</p>
<p>Processing demo files can take a while</p>
<form>
<input type="file" id="file">
</form>
<p>
Note:
</p>
<ul>
<li>The reported buttons are "virtual buttons", running <code>+forward</code> in the console will report the same buttons as holding down <code>W</code></li>
<li>Buttons are only listed on the ticks the held down buttons are changed</li>
</ul>
</body>
</html>