Merge pull request #94 from dsoegijono/patch-1

Use space for pause
This commit is contained in:
Garrett Finucane 2014-08-20 09:38:50 -04:00
commit 8c61ee30d7

View file

@ -41,6 +41,11 @@ function addKeyListeners() {
on_keydown: function(){pause();} on_keydown: function(){pause();}
}); });
keypress.register_combo({
keys: "space",
on_keydown: function(){pause();}
});
keypress.register_combo({ keypress.register_combo({
keys: "q", keys: "q",
on_keydown: function() { on_keydown: function() {