diff --git a/HTMLshell.html b/HTMLshell.html
index ca4e3a9..9b589a5 100644
--- a/HTMLshell.html
+++ b/HTMLshell.html
@@ -18,34 +18,78 @@
game
-
+
+
-
-
-
+ return document.getElementById('canvas');
+ }
+ )(),
+ onRuntimeInitialized: function()
+ {
+ pressFunc = Module.cwrap('webButton', '', ['number','number']);
+ }
+ };
- {{{ SCRIPT }}}
+ function down(button)
+ {
+ pressFunc(button,1);
+ }
+
+ function up(button)
+ {
+ pressFunc(button,0);
+ }
+
+
+ {{{ SCRIPT }}}
+
+