summaryrefslogtreecommitdiffstats
path: root/doc/classes/InputMap.xml
diff options
context:
space:
mode:
authorYuri Sizov <11782833+YuriSizov@users.noreply.github.com>2022-08-15 16:17:52 +0300
committerGitHub <noreply@github.com>2022-08-15 16:17:52 +0300
commitdc661cc9ef26d32e51d0208e7a8c8fcefce3b134 (patch)
tree229380347706539ffab1e30803741d4b33c3bcd0 /doc/classes/InputMap.xml
parentdeec057ff89948ae2e4a45bada4c8a32553f3ca3 (diff)
parentea2192b99ea0a56559687a3e1b1a9d9f32518132 (diff)
downloadredot-engine-dc661cc9ef26d32e51d0208e7a8c8fcefce3b134.tar.gz
Merge pull request #64328 from asmaloney/doc-params-6
[doc] Use "param" instead of "code" to refer to parameters (6)
Diffstat (limited to 'doc/classes/InputMap.xml')
-rw-r--r--doc/classes/InputMap.xml4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/classes/InputMap.xml b/doc/classes/InputMap.xml
index 8a58519a2b..d60abd7975 100644
--- a/doc/classes/InputMap.xml
+++ b/doc/classes/InputMap.xml
@@ -69,7 +69,7 @@
<param index="0" name="action" type="StringName" />
<param index="1" name="deadzone" type="float" default="0.5" />
<description>
- Adds an empty action to the [InputMap] with a configurable [code]deadzone[/code].
+ Adds an empty action to the [InputMap] with a configurable [param deadzone].
An [InputEvent] can then be added to this action with [method action_add_event].
</description>
</method>
@@ -87,7 +87,7 @@
<param index="2" name="exact_match" type="bool" default="false" />
<description>
Returns [code]true[/code] 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.
- If [code]exact_match[/code] is [code]false[/code], it ignores additional input modifiers for [InputEventKey] and [InputEventMouseButton] events, and the direction for [InputEventJoypadMotion] events.
+ If [param exact_match] is [code]false[/code], it ignores additional input modifiers for [InputEventKey] and [InputEventMouseButton] events, and the direction for [InputEventJoypadMotion] events.
</description>
</method>
<method name="get_actions">