diff options
author | krzys-h <krzys_h@interia.pl> | 2013-12-25 19:34:34 +0100 |
---|---|---|
committer | krzys-h <krzys_h@interia.pl> | 2013-12-25 19:34:34 +0100 |
commit | 55fd03ade36f30c5ac18b5e9037622d0872d9bf3 (patch) | |
tree | a0a29e143f01891e59c7174caf0e826c1da74973 | |
parent | f1e267b18e89efde079421b8907f8f793998da3e (diff) | |
download | colobot-55fd03ade36f30c5ac18b5e9037622d0872d9bf3.tar.gz colobot-55fd03ade36f30c5ac18b5e9037622d0872d9bf3.tar.bz2 colobot-55fd03ade36f30c5ac18b5e9037622d0872d9bf3.zip |
Added WSAD as secondary controls (#231)
-rw-r--r-- | src/object/robotmain.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/object/robotmain.cpp b/src/object/robotmain.cpp index 4b45a20..ba6e1c4 100644 --- a/src/object/robotmain.cpp +++ b/src/object/robotmain.cpp @@ -987,6 +987,10 @@ void CRobotMain::SetDefaultInputBindings() m_inputBindings[INPUT_SLOT_RIGHT ].primary = KEY(RIGHT); m_inputBindings[INPUT_SLOT_UP ].primary = KEY(UP); m_inputBindings[INPUT_SLOT_DOWN ].primary = KEY(DOWN); + m_inputBindings[INPUT_SLOT_LEFT ].secondary = KEY(a); + m_inputBindings[INPUT_SLOT_RIGHT ].secondary = KEY(d); + m_inputBindings[INPUT_SLOT_UP ].secondary = KEY(w); + m_inputBindings[INPUT_SLOT_DOWN ].secondary = KEY(s); m_inputBindings[INPUT_SLOT_GUP ].primary = VIRTUAL_KMOD(SHIFT); m_inputBindings[INPUT_SLOT_GDOWN ].primary = VIRTUAL_KMOD(CTRL); m_inputBindings[INPUT_SLOT_CAMERA ].primary = KEY(SPACE); |