summaryrefslogtreecommitdiff
path: root/src/input
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-08-27 13:18:28 +0300
committerAndrei Karas <akaras@inbox.ru>2014-08-27 13:18:28 +0300
commitd53578d459fcc7fc9c5ab84a196c7f5a8238fc8e (patch)
tree8f83fc62a0bc58fef5a62bdb53e7bcf07f005a13 /src/input
parent2981363fef524501a4a24a5f4c60661ebdee80fa (diff)
downloadmanaplus-d53578d459fcc7fc9c5ab84a196c7f5a8238fc8e.tar.gz
manaplus-d53578d459fcc7fc9c5ab84a196c7f5a8238fc8e.tar.bz2
manaplus-d53578d459fcc7fc9c5ab84a196c7f5a8238fc8e.tar.xz
manaplus-d53578d459fcc7fc9c5ab84a196c7f5a8238fc8e.zip
Move chat command /url into actions.
Diffstat (limited to 'src/input')
-rw-r--r--src/input/inputaction.h1
-rw-r--r--src/input/inputactionmap.h11
2 files changed, 11 insertions, 1 deletions
diff --git a/src/input/inputaction.h b/src/input/inputaction.h
index 6758492b9..32afb69f1 100644
--- a/src/input/inputaction.h
+++ b/src/input/inputaction.h
@@ -404,6 +404,7 @@ namespace InputAction
DUMP_OGL,
DUMP_GL,
DUMP_MODS,
+ URL,
TOTAL
};
} // namespace InputAction
diff --git a/src/input/inputactionmap.h b/src/input/inputactionmap.h
index 5e3260584..22fc6ce11 100644
--- a/src/input/inputactionmap.h
+++ b/src/input/inputactionmap.h
@@ -3405,7 +3405,16 @@ static const InputActionData inputActionData[InputAction::TOTAL] = {
InputAction::NO_VALUE, 50,
InputCondition::INGAME,
"dumpMods",
- false}
+ false},
+ {"keyUrl",
+ InputType::UNKNOWN, InputAction::NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
+ Input::GRP_DEFAULT,
+ &Actions::url,
+ InputAction::NO_VALUE, 50,
+ InputCondition::INGAME,
+ "url",
+ true}
};
#endif // INPUT_INPUTACTIONMAP_H