summaryrefslogtreecommitdiff
path: root/doc/classes/Input.xml
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <remi@verschelde.fr>2021-06-20 18:50:40 +0200
committerGitHub <noreply@github.com>2021-06-20 18:50:40 +0200
commit50a0a401a10dda9718169d690b4b941100eb4a2c (patch)
treeba1b10099dfbaf9798a16f619493a49a37701dbc /doc/classes/Input.xml
parent1acc76fecc9e613724c920633af6bae059444030 (diff)
parent0ce49800acf464c2242c3f7e021b4ab8f49ec366 (diff)
Merge pull request #49281 from aaronfranke/use-enums-mouse-joypad
Diffstat (limited to 'doc/classes/Input.xml')
-rw-r--r--doc/classes/Input.xml6
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/classes/Input.xml b/doc/classes/Input.xml
index 05a8bd268e..b970070659 100644
--- a/doc/classes/Input.xml
+++ b/doc/classes/Input.xml
@@ -123,7 +123,7 @@
</return>
<argument index="0" name="device" type="int">
</argument>
- <argument index="1" name="axis" type="int">
+ <argument index="1" name="axis" type="int" enum="JoyAxis">
</argument>
<description>
Returns the current value of the joypad axis at given index (see [enum JoyAxis]).
@@ -252,7 +252,7 @@
</return>
<argument index="0" name="device" type="int">
</argument>
- <argument index="1" name="button" type="int">
+ <argument index="1" name="button" type="int" enum="JoyButton">
</argument>
<description>
Returns [code]true[/code] if you are pressing the joypad button (see [enum JoyButton]).
@@ -279,7 +279,7 @@
<method name="is_mouse_button_pressed" qualifiers="const">
<return type="bool">
</return>
- <argument index="0" name="button" type="int">
+ <argument index="0" name="button" type="int" enum="MouseButton">
</argument>
<description>
Returns [code]true[/code] if you are pressing the mouse button specified with [enum MouseButton].