9 lines
175 B
JavaScript
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)},
|
|
});
|