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.
id, instanceid = Joystick:getID( )
None.
number id
number instanceid (nil)
© 2006–2016 LÖVE Development Team
Licensed under the GNU Free Documentation License, Version 1.3.
https://love2d.org/wiki/Joystick:getID