summaryrefslogtreecommitdiff
path: root/src/keyboarddata.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-04-26 00:13:17 +0300
committerAndrei Karas <akaras@inbox.ru>2013-04-26 00:13:17 +0300
commit298d8e2ef42eb2c60f1a2c24cf1aeb131dcded09 (patch)
tree7e5196f57a290ff585936f5caf61ac26c9295b00 /src/keyboarddata.h
parent853757df15383c2e9cc33023dc04a256c458e671 (diff)
downloadmanaplus-298d8e2ef42eb2c60f1a2c24cf1aeb131dcded09.tar.gz
manaplus-298d8e2ef42eb2c60f1a2c24cf1aeb131dcded09.tar.bz2
manaplus-298d8e2ef42eb2c60f1a2c24cf1aeb131dcded09.tar.xz
manaplus-298d8e2ef42eb2c60f1a2c24cf1aeb131dcded09.zip
Add mod key for chat (left shift)
New action: mod key + right click - close current whisper.
Diffstat (limited to 'src/keyboarddata.h')
-rw-r--r--src/keyboarddata.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/keyboarddata.h b/src/keyboarddata.h
index 1a8d2f6da..980bf1eda 100644
--- a/src/keyboarddata.h
+++ b/src/keyboarddata.h
@@ -1943,6 +1943,13 @@ static const KeyData keyData[Input::KEY_TOTAL] = {
Input::GRP_DEFAULT,
&ActionManager::showWindows,
Input::KEY_NO_VALUE, 50,
+ COND_DEFAULT},
+ {"keyChatMod",
+ INPUT_KEYBOARD, SDLK_LSHIFT,
+ INPUT_UNKNOWN, Input::KEY_NO_VALUE,
+ Input::GRP_CHAT,
+ nullptr,
+ Input::KEY_NO_VALUE, 50,
COND_DEFAULT}
};