summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <remi@verschelde.fr>2016-07-18 00:52:15 +0200
committerGitHub <noreply@github.com>2016-07-18 00:52:15 +0200
commit8de5aedb9ef7d4c17027b41b40677d1892f4158c (patch)
tree88f3cf2753bc2f2033ed5e80eae43058dea63fa5 /doc
parent3183834c5d5dd27e1be4f581c0fe1a8bef3c4a6e (diff)
parent370ae3512deda40b2659a1192f302298e269305f (diff)
Merge pull request #5718 from jay3d/master
Added gyroscope support to Godot and Android
Diffstat (limited to 'doc')
-rw-r--r--doc/base/classes.xml7
1 files changed, 7 insertions, 0 deletions
diff --git a/doc/base/classes.xml b/doc/base/classes.xml
index 1a22b4926a..b3ce0adb66 100644
--- a/doc/base/classes.xml
+++ b/doc/base/classes.xml
@@ -15797,6 +15797,13 @@
Returns an [Array] containing the device IDs of all currently connected joysticks.
</description>
</method>
+ <method name="get_gyroscope">
+ <return type="Vector3">
+ </return>
+ <description>
+ If the device has a gyroscope, this will return the rate of rotation in rad/s around a device's x, y, and z axis.
+ </description>
+ </method>
<method name="get_joy_axis">
<return type="float">
</return>