Clarify is_action_pressed() for multiple assigned buttons

(cherry picked from commit 7e329a7251)
This commit is contained in:
Tomasz Chabora 2019-07-28 15:34:31 +02:00 committed by Rémi Verschelde
parent cf9560fdab
commit 55ec64a77a
1 changed files with 1 additions and 1 deletions

View File

@ -217,7 +217,7 @@
<argument index="0" name="action" type="String"> <argument index="0" name="action" type="String">
</argument> </argument>
<description> <description>
Returns [code]true[/code] if you are pressing the action event. Returns [code]true[/code] if you are pressing the action event. Note that if an action has multiple buttons asigned and more than one of them is pressed, releasing one button will release the action, even if some other button assigned to this action is still pressed.
</description> </description>
</method> </method>
<method name="is_joy_button_pressed" qualifiers="const"> <method name="is_joy_button_pressed" qualifiers="const">