2
0
Fork 0

Merge pull request #22743 from guilhermefelipecgs/add_input_doc

[Docs] Add doc for Input::get_action_strength
3.1
Rémi Verschelde 2018-10-05 15:27:46 +07:00 committed by GitHub
commit 3bcab46ea5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

@ -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">