diff --git a/sources/index.html b/sources/index.html
index 9507ac3..44462b4 100644
--- a/sources/index.html
+++ b/sources/index.html
@@ -17,19 +17,21 @@
Dotgrid(Icon)
-
+ document.onkeyup = function myFunction(event){ keyboard.listen(event); };
+ document.addEventListener('mousedown', function(e){ dotgrid.mouse_down(e); }, false);
+ document.addEventListener('mousemove', function(e){ dotgrid.mouse_move(e); }, false);
+ document.addEventListener('mouseup', function(e){ dotgrid.mouse_up(e);}, false);
+
+