diff options
| author | Georgios Andreadis <g.andreadis@student.tudelft.nl> | 2017-09-03 17:53:03 +0200 |
|---|---|---|
| committer | Georgios Andreadis <g.andreadis@student.tudelft.nl> | 2017-09-23 10:05:56 +0200 |
| commit | 81e517002bfdfbcd75109c562d890a27d190889b (patch) | |
| tree | d69171040b5b9bfd45bfa4a51427a2138ffe9ea4 /src/shortcuts/keymap.js | |
| parent | 17ae0a3fafd806a5a533bf1d51a3ac708a8cf978 (diff) | |
Convert map movement to keyboard-based navigation
Diffstat (limited to 'src/shortcuts/keymap.js')
| -rw-r--r-- | src/shortcuts/keymap.js | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/shortcuts/keymap.js b/src/shortcuts/keymap.js new file mode 100644 index 00000000..75986557 --- /dev/null +++ b/src/shortcuts/keymap.js @@ -0,0 +1,10 @@ +const KeymapConfiguration = { + MAP: { + MOVE_LEFT: ["a", "left"], + MOVE_RIGHT: ["d", "right"], + MOVE_UP: ["w", "up"], + MOVE_DOWN: ["s", "down"], + }, +}; + +export default KeymapConfiguration; |
