Added vim keybindings

This commit is contained in:
rayhaanj
2014-03-10 17:33:58 +00:00
parent 40f2df8414
commit fb8eabe9b0
+5 -1
View File
@@ -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) {