提交 fb8eabe9 编写于 作者: R rayhaanj

Added vim keybindings

上级 40f2df84
...@@ -27,7 +27,11 @@ KeyboardInputManager.prototype.listen = function () { ...@@ -27,7 +27,11 @@ KeyboardInputManager.prototype.listen = function () {
38: 0, // Up 38: 0, // Up
39: 1, // Right 39: 1, // Right
40: 2, // Down 40: 2, // Down
37: 3 // Left 37: 3, // Left
75: 0, // vim keybindings
76: 1,
74: 2,
72: 3
}; };
document.addEventListener("keydown", function (event) { document.addEventListener("keydown", function (event) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册