mirror of
https://github.com/danog/2048.git
synced 2024-11-27 03:44:43 +01:00
commit
a422799481
@ -27,7 +27,11 @@ KeyboardInputManager.prototype.listen = function () {
|
||||
38: 0, // Up
|
||||
39: 1, // Right
|
||||
40: 2, // Down
|
||||
37: 3 // Left
|
||||
37: 3, // Left
|
||||
75: 0, // vim keybindings
|
||||
76: 1,
|
||||
74: 2,
|
||||
72: 3
|
||||
};
|
||||
|
||||
document.addEventListener("keydown", function (event) {
|
||||
|
Loading…
Reference in New Issue
Block a user