summaryrefslogtreecommitdiff
path: root/src/input
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-01-24 14:26:15 +0300
committerAndrei Karas <akaras@inbox.ru>2015-01-24 14:28:39 +0300
commit1cd50987bce69ada9ccea8c822ccd0ffb34cedde (patch)
tree58858017e679e053905775ef5cad3a711851edea /src/input
parentb7bb27910303ef1538e2cbb4093e452c77567739 (diff)
downloadmanaverse-1cd50987bce69ada9ccea8c822ccd0ffb34cedde.tar.gz
manaverse-1cd50987bce69ada9ccea8c822ccd0ffb34cedde.tar.bz2
manaverse-1cd50987bce69ada9ccea8c822ccd0ffb34cedde.tar.xz
manaverse-1cd50987bce69ada9ccea8c822ccd0ffb34cedde.zip
Add partial support for cart window.
Diffstat (limited to 'src/input')
-rw-r--r--src/input/inputaction.h1
-rw-r--r--src/input/inputactionmap.h5
2 files changed, 6 insertions, 0 deletions
diff --git a/src/input/inputaction.h b/src/input/inputaction.h
index 63f351706..9bc25f49d 100644
--- a/src/input/inputaction.h
+++ b/src/input/inputaction.h
@@ -535,6 +535,7 @@ namespace InputAction
CHAT_PARTY_TAB,
CHAT_GUILD_TAB,
DROP_CLEAR,
+ WINDOW_CART,
TOTAL
};
} // namespace InputAction
diff --git a/src/input/inputactionmap.h b/src/input/inputactionmap.h
index 23d4e6c06..013efa81f 100644
--- a/src/input/inputactionmap.h
+++ b/src/input/inputactionmap.h
@@ -3969,6 +3969,11 @@ static const InputActionData inputActionData[InputAction::TOTAL] = {
InputCondition::INGAME,
"cleardrops|cleardrop|cleardropwindow|dropclear|dropsclear",
false},
+ {"keyWindowCart",
+ defaultAction(&Actions::cartWindowShow),
+ InputCondition::SHORTCUT0,
+ "cart|opencart",
+ false},
};
#undef defaultAction