Skip to content

Commit

Permalink
New set of key J(LEFT), K(DOWN), I(UP) and L(RIGHT) are added into th…
Browse files Browse the repository at this point in the history
…e project function where swiping the tiles accordingly.
  • Loading branch information
yewyew25 committed Aug 6, 2017
1 parent d39dcf7 commit f61849c
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion js/keyboard_input_manager.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,11 @@ KeyboardInputManager.prototype.listen = function () {
87: 0, // W
68: 1, // D
83: 2, // S
65: 3 // A
65: 3, // A
73: 0, // Key I is added for UP
74: 3, // Key J is added for LEFT
75: 2, // Key K is added for DOWN
76: 1 // Key L is added for RIGHT
};

// Respond to direction keys
Expand Down

0 comments on commit f61849c

Please sign in to comment.