From 81e517002bfdfbcd75109c562d890a27d190889b Mon Sep 17 00:00:00 2001 From: Georgios Andreadis Date: Sun, 3 Sep 2017 17:53:03 +0200 Subject: Convert map movement to keyboard-based navigation --- src/shortcuts/keymap.js | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 src/shortcuts/keymap.js (limited to 'src/shortcuts/keymap.js') 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; -- cgit v1.2.3