summaryrefslogtreecommitdiff
path: root/doc/classes
diff options
context:
space:
mode:
authorGuilherme Felipe <guilhermefelipecgs@gmail.com>2018-10-04 21:15:42 -0300
committerGuilherme Felipe <guilhermefelipecgs@gmail.com>2018-10-05 09:54:00 -0300
commit5016ef6fe0a26f1d612bd79c33a2e9d1479a5c7a (patch)
tree58f242e1ad0220596f7cd7fc3c116dab9ce0ecfa /doc/classes
parent8068d0217a5e74c25f83fe93fa6e077b8d0b3bf5 (diff)
[Docs] Add doc for Input::get_action_strength
Diffstat (limited to 'doc/classes')
-rw-r--r--doc/classes/Input.xml1
1 files changed, 1 insertions, 0 deletions
diff --git a/doc/classes/Input.xml b/doc/classes/Input.xml
index 338d01ae5f..10ec15b99d 100644
--- a/doc/classes/Input.xml
+++ b/doc/classes/Input.xml
@@ -55,6 +55,7 @@
<argument index="0" name="action" type="String">
</argument>
<description>
+ Returns a value between 0 and 1 representing the intensity of the given action. In a joypad, for example, the further away the axis (analog sticks or L2, R2 triggers) is from the dead zone, the closer the value will be to 1. If the action is mapped to a control that has no axis as the keyboard, the value returned will be 0 or 1.
</description>
</method>
<method name="get_connected_joypads">