diff options
| author | Andreas Haas | 2016-07-05 14:07:46 +0200 |
|---|---|---|
| committer | Andreas Haas | 2016-07-05 14:08:02 +0200 |
| commit | 45cfd199a46a6fdffb48cd367c69a336eb79590b (patch) | |
| tree | a629154177841054cf8465180d5312e1a7461a37 /doc | |
| parent | 716dfa67a3c5a0a38205179c01676e05a718d244 (diff) | |
| download | godot-45cfd199a46a6fdffb48cd367c69a336eb79590b.tar.gz godot-45cfd199a46a6fdffb48cd367c69a336eb79590b.tar.zst godot-45cfd199a46a6fdffb48cd367c69a336eb79590b.zip | |
Input: add get_connected_joysticks() method.
fixes #5465
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/base/classes.xml | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/doc/base/classes.xml b/doc/base/classes.xml index 4b5c424d4..978df96a8 100644 --- a/doc/base/classes.xml +++ b/doc/base/classes.xml @@ -15965,6 +15965,13 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) If the device has an accelerometer, this will return the movement. </description> </method> + <method name="get_connected_joysticks"> + <return type="Array"> + </return> + <description> + Returns an [Array] containing the device IDs of all currently connected joysticks. + </description> + </method> <method name="get_joy_axis"> <return type="float"> </return> |
