diff options
| author | troido <troido@hotmail.com> | 2017-11-13 11:57:00 +0100 |
|---|---|---|
| committer | troido <troido@hotmail.com> | 2017-11-13 11:57:00 +0100 |
| commit | 336f6f873c52ef62e2f304436b381c166eac872f (patch) | |
| tree | 9206f3c8bec1673a7851a0910862ccb5c9ed7162 /asciifarm/keybindings/default.json | |
| parent | e26a64d42870c9d45607d24a41cfb0ad037165d9 (diff) | |
used curses.keyname instead of ord. It is now possible to use non printable keys for controlling (like arrow keys)
Diffstat (limited to 'asciifarm/keybindings/default.json')
| -rw-r--r-- | asciifarm/keybindings/default.json | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/asciifarm/keybindings/default.json b/asciifarm/keybindings/default.json index 270eaa9..23eaa26 100644 --- a/asciifarm/keybindings/default.json +++ b/asciifarm/keybindings/default.json @@ -13,6 +13,10 @@ "D": ["attack", "east"], "A": ["attack", "west"], "E": ["use"], - "r": ["interact"] + "r": ["interact"], + "KEY_UP": ["move", "north"], + "KEY_DOWN": ["move", "south"], + "KEY_RIGHT": ["move", "east"], + "KEY_LEFT": ["move", "west"] } } |
