diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-05-09 21:16:31 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-05-09 21:17:31 +0300 |
commit | aab80ddc8f56d6a383182ce5c241e9d94ca27bab (patch) | |
tree | 9e81b97354b666820ab6e2bb9575dc1127a486a8 /src/keyboarddata.h | |
parent | 0af9ff98876426c096d2b4b8a4f17172af92b8d0 (diff) | |
download | ManaVerse-aab80ddc8f56d6a383182ce5c241e9d94ca27bab.tar.gz ManaVerse-aab80ddc8f56d6a383182ce5c241e9d94ca27bab.tar.bz2 ManaVerse-aab80ddc8f56d6a383182ce5c241e9d94ca27bab.tar.xz ManaVerse-aab80ddc8f56d6a383182ce5c241e9d94ca27bab.zip |
Add ability to auto repeat some keys presses.
Diffstat (limited to 'src/keyboarddata.h')
-rw-r--r-- | src/keyboarddata.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/keyboarddata.h b/src/keyboarddata.h index 8ece6cdfb..6d8abf712 100644 --- a/src/keyboarddata.h +++ b/src/keyboarddata.h @@ -66,7 +66,7 @@ static KeyData const keyData[Input::KEY_TOTAL] = { {"keyAttack", INPUT_KEYBOARD, SDLK_LCTRL, INPUT_UNKNOWN, Input::KEY_NO_VALUE, - Input::GRP_DEFAULT, + Input::GRP_DEFAULT | Input::GRP_REPEAT, &ActionManager::attack, Input::KEY_NO_VALUE, 50, COND_GAME | COND_NOFOLLOW | COND_VALIDSPEED}, @@ -136,7 +136,7 @@ static KeyData const keyData[Input::KEY_TOTAL] = { {"keyTargetMonster", INPUT_KEYBOARD, SDLK_a, INPUT_JOYSTICK, 3, - Input::GRP_DEFAULT, + Input::GRP_DEFAULT | Input::GRP_REPEAT, &ActionManager::targetMonster, Input::KEY_NO_VALUE, 50, COND_GAME | COND_NOTARGET}, |