From 0a89b0f76785fe0865894e5b1e37892e17ccd069 Mon Sep 17 00:00:00 2001 From: Jerome67000 Date: Mon, 16 Oct 2017 00:07:13 +0200 Subject: [DOCS] InputEvent* --- doc/classes/InputMap.xml | 24 +++++++++++++----------- 1 file changed, 13 insertions(+), 11 deletions(-) (limited to 'doc/classes/InputMap.xml') diff --git a/doc/classes/InputMap.xml b/doc/classes/InputMap.xml index bf72ba05e..333edf02b 100644 --- a/doc/classes/InputMap.xml +++ b/doc/classes/InputMap.xml @@ -1,11 +1,13 @@ - Singleton that manages actions. + Singleton that manages [InputEventAction]. + Manages all [InputEventAction] which can be created/modified from the project settings menu [code]Project > Project Settings > Input Map[/Code] or in code with [method add_action] and [method action_add_event]. See [method Node._input]. + http://docs.godotengine.org/en/stable/learning/features/inputs/inputevent.html#inputmap @@ -18,7 +20,7 @@ - Add an [InputEvent] to an action. This [InputEvent] will trigger the action. + Adds an [InputEvent] to an action. This [InputEvent] will trigger the action. @@ -29,7 +31,7 @@ - Remove an [InputEvent] from an action. + Removes an [InputEvent] from an action. @@ -40,7 +42,7 @@ - Whether an action has an [InputEvent] associated with it. + Returns [true] if an action has an [InputEvent] associated with it. @@ -49,7 +51,7 @@ - Add an (empty) action to the [InputMap]. An [InputEvent] can then be added to this action with [method action_add_event]. + Adds an (empty) action to the [InputMap]. An [InputEvent] can then be added to this action with [method action_add_event]. @@ -58,7 +60,7 @@ - Remove an action from the [InputMap]. + Removes an action from the [code]InputMap[/code]. @@ -69,7 +71,7 @@ - Return whether the given event is part of an existing action. This method ignores keyboard modifiers if the given [InputEvent] is not pressed (for proper release detection). See [method action_has_event] if you don't want this behavior. + Returns [true] if the given event is part of an existing action. This method ignores keyboard modifiers if the given [InputEvent] is not pressed (for proper release detection). See [method action_has_event] if you don't want this behavior. @@ -78,14 +80,14 @@ - Return an array of InputEvents associated with a given action. + Returns an array of [InputEvent]s associated with a given action. - Return an array of all actions in the [InputMap]. + Returns an array of all actions in the [code]InputMap[/code]. @@ -94,14 +96,14 @@ - Whether this InputMap has a registered action with the given name. + Returns [code]true[/code] if the [code]InputMap[/code] has a registered action with the given name. - Clear the [InputMap] and load it anew from [ProjectSettings]. + Clears all [InputEventAction] in the [code]InputMap[/code] and load it anew from [ProjectSettings]. -- cgit v1.2.3-70-g09d2