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.h11
2 files changed, 11 insertions, 1 deletions
diff --git a/src/input/inputaction.h b/src/input/inputaction.h
index 2eb05dac6..dacd2a2da 100644
--- a/src/input/inputaction.h
+++ b/src/input/inputaction.h
@@ -364,6 +364,7 @@ namespace InputAction
CREATE_GUILD,
PARTY,
ME,
+ TOGGLE,
TOTAL
};
} // namespace InputAction
diff --git a/src/input/inputactionmap.h b/src/input/inputactionmap.h
index 368518afc..289490723 100644
--- a/src/input/inputactionmap.h
+++ b/src/input/inputactionmap.h
@@ -3045,7 +3045,16 @@ static const InputActionData inputActionData[InputAction::TOTAL] = {
InputAction::NO_VALUE, 50,
InputCondition::INGAME,
"me",
- true}
+ true},
+ {"keyToggle",
+ InputType::UNKNOWN, InputAction::NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
+ Input::GRP_DEFAULT,
+ &Actions::toggle,
+ InputAction::NO_VALUE, 50,
+ InputCondition::INGAME,
+ "toggle",
+ false}
};
#endif // INPUT_INPUTACTIONMAP_H