hextris/input.js
2014-05-17 14:08:09 -04:00

9 lines
183 B
JavaScript

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