Difference between revisions of "Joystick:getID"

m
m (Updated link)
Line 12: Line 12:
 
== See Also ==
 
== See Also ==
 
* [[parent::Joystick]]
 
* [[parent::Joystick]]
* [[Joystick:getGUID]]
+
* [[Joystick:getProductGUID]]
 
* [[Joystick:getConnectedIndex]]
 
* [[Joystick:getConnectedIndex]]
 
[[Category:Functions]]
 
[[Category:Functions]]

Revision as of 07:30, 28 August 2013

Available since LÖVE 0.9.0
This function is not supported in earlier versions.

Gets the joystick's unique identifier. The identifier will remain the same for the life of the game, even when the Joystick is disconnected and reconnected, but it will change when the game is re-launched.

Function

Synopsis

id = Joystick:getID( )

Arguments

None.

Returns

number id
The Joystick's unique identifier.

See Also

Other Languages