summaryrefslogtreecommitdiff
path: root/src/input/keyboarddata.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-11-03 01:23:49 +0300
committerAndrei Karas <akaras@inbox.ru>2013-11-03 01:23:49 +0300
commitbd7821e9648186abf1fa06c6ded9e61755b1d369 (patch)
tree5827ca54b6d61897d272d8008de05265fe9edf59 /src/input/keyboarddata.h
parentd1b20afbb5ba06a58dcda04760c523e71c0e6bcd (diff)
downloadmv-bd7821e9648186abf1fa06c6ded9e61755b1d369.tar.gz
mv-bd7821e9648186abf1fa06c6ded9e61755b1d369.tar.bz2
mv-bd7821e9648186abf1fa06c6ded9e61755b1d369.tar.xz
mv-bd7821e9648186abf1fa06c6ded9e61755b1d369.zip
add action "move forward" default key unassigned.
Diffstat (limited to 'src/input/keyboarddata.h')
-rw-r--r--src/input/keyboarddata.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/input/keyboarddata.h b/src/input/keyboarddata.h
index e9703eac7..ed8aefe17 100644
--- a/src/input/keyboarddata.h
+++ b/src/input/keyboarddata.h
@@ -62,6 +62,13 @@ static const KeyData keyData[Input::KEY_TOTAL] = {
&ActionManager::moveRight,
Input::KEY_NO_VALUE, 50,
COND_GAME},
+ {"keyMoveForward",
+ INPUT_UNKNOWN, Input::KEY_NO_VALUE,
+ INPUT_UNKNOWN, Input::KEY_NO_VALUE,
+ Input::GRP_DEFAULT,
+ &ActionManager::moveForward,
+ Input::KEY_NO_VALUE, 50,
+ COND_GAME},
{"keyAttack",
INPUT_KEYBOARD, SDLK_LCTRL,
INPUT_UNKNOWN, Input::KEY_NO_VALUE,