summaryrefslogtreecommitdiff
path: root/src/input
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-03-26 17:07:35 +0300
committerAndrei Karas <akaras@inbox.ru>2014-03-26 17:07:35 +0300
commit8626395ecd1bb47f2e67e576ec648c2ab34cb148 (patch)
treec3eaad368332741770da469ff29e48cc1ad9a966 /src/input
parentd4d2316aa005c387e6d3cb6613ed0564fdd4ddda (diff)
downloadmanaverse-8626395ecd1bb47f2e67e576ec648c2ab34cb148.tar.gz
manaverse-8626395ecd1bb47f2e67e576ec648c2ab34cb148.tar.bz2
manaverse-8626395ecd1bb47f2e67e576ec648c2ab34cb148.tar.xz
manaverse-8626395ecd1bb47f2e67e576ec648c2ab34cb148.zip
Swap X and Ctrl default key actions.
Diffstat (limited to 'src/input')
-rw-r--r--src/input/keyboarddata.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/input/keyboarddata.h b/src/input/keyboarddata.h
index 37a36b45f..c099e573e 100644
--- a/src/input/keyboarddata.h
+++ b/src/input/keyboarddata.h
@@ -63,14 +63,14 @@ static const KeyData keyData[Input::KEY_TOTAL] = {
Input::KEY_NO_VALUE, 50,
COND_ARROWKEYS},
{"keyAttack",
- INPUT_KEYBOARD, SDLK_LCTRL,
+ INPUT_KEYBOARD, SDLK_x,
INPUT_UNKNOWN, Input::KEY_NO_VALUE,
Input::GRP_DEFAULT | Input::GRP_REPEAT,
&ActionManager::attack,
Input::KEY_NO_VALUE, 50,
COND_GAME | COND_NOFOLLOW | COND_VALIDSPEED},
{"keyTargetAttack",
- INPUT_KEYBOARD, SDLK_x,
+ INPUT_KEYBOARD, SDLK_LCTRL,
INPUT_JOYSTICK, 0,
Input::GRP_DEFAULT,
&ActionManager::targetAttack,