summaryrefslogtreecommitdiff
path: root/src/keyboarddata.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-05-09 21:16:31 +0300
committerAndrei Karas <akaras@inbox.ru>2012-05-09 21:17:31 +0300
commitaab80ddc8f56d6a383182ce5c241e9d94ca27bab (patch)
tree9e81b97354b666820ab6e2bb9575dc1127a486a8 /src/keyboarddata.h
parent0af9ff98876426c096d2b4b8a4f17172af92b8d0 (diff)
downloadmanaplus-aab80ddc8f56d6a383182ce5c241e9d94ca27bab.tar.gz
manaplus-aab80ddc8f56d6a383182ce5c241e9d94ca27bab.tar.bz2
manaplus-aab80ddc8f56d6a383182ce5c241e9d94ca27bab.tar.xz
manaplus-aab80ddc8f56d6a383182ce5c241e9d94ca27bab.zip
Add ability to auto repeat some keys presses.
Diffstat (limited to 'src/keyboarddata.h')
-rw-r--r--src/keyboarddata.h4
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},