hextris/input.js
2014-05-17 12:41:54 -04:00

9 lines
175 B
JavaScript

keypress.register_combo({
keys: "right",
on_keyup: function(){clock.rotate(1)},
});
keypress.register_combo({
keys: "left",
on_keyup: function(){clock.rotate(-1)},
});