浏览代码

Clarify is_action_pressed() for multiple assigned buttons

(cherry picked from commit 7e329a7251b603c3d46da2456d687754547c5793)
Tomasz Chabora 6 年之前
父节点
当前提交
55ec64a77a
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      doc/classes/Input.xml

+ 1 - 1
doc/classes/Input.xml

@@ -217,7 +217,7 @@
 			<argument index="0" name="action" type="String">
 			</argument>
 			<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>
 		</method>
 		<method name="is_joy_button_pressed" qualifiers="const">