Input: add get_connected_joysticks() method.

fixes #5465
This commit is contained in:
Andreas Haas 2016-07-05 14:07:46 +02:00
parent 716dfa67a3
commit 45cfd199a4
No known key found for this signature in database
GPG key ID: B5FFAE1B65FBD2E1
5 changed files with 27 additions and 3 deletions

View file

@ -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>