Difference between revisions of "Joystick:getGUID"

(Changed to Joystick:getGUID, edited description)
m (moved Joystick:getProductGUID to Joystick:getGUID: Function was renamed (again))
(No difference)

Revision as of 02:44, 31 August 2013

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

Gets a stable GUID unique to the type of joystick which does not change over time. For example, all Sony Dualshock 3 controllers in OS X have the same GUID. The value is platform-dependent.

Function

Synopsis

guid = Joystick:getGUID( )

Arguments

None.

Returns

string guid
The Joystick type's OS-dependent unique identifier.

See Also

Other Languages