summaryrefslogtreecommitdiff
path: root/src/input
diff options
context:
space:
mode:
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 9417a472c..9d6f5eb83 100644
--- a/src/input/inputaction.h
+++ b/src/input/inputaction.h
@@ -529,6 +529,7 @@ namespace InputAction
CHAT_GENERAL_TAB,
CHAT_DEBUG_TAB,
CHAT_BATTLE_TAB,
+ CHAT_TRADE_TAB,
TOTAL
};
} // namespace InputAction
diff --git a/src/input/inputactionmap.h b/src/input/inputactionmap.h
index d0a4ecc1a..1af7f387e 100644
--- a/src/input/inputactionmap.h
+++ b/src/input/inputactionmap.h
@@ -3939,6 +3939,11 @@ static const InputActionData inputActionData[InputAction::TOTAL] = {
InputCondition::INGAME,
"battletab|battlechattab",
false},
+ {"keyTradeTab",
+ defaultAction(&Actions::chatTradeTab),
+ InputCondition::INGAME,
+ "tradetab|tradechattab",
+ false},
};
#undef defaultAction