Joystick:getGUID

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

Gets a stable GUID unique to the joystick product that does not change over time. For example, all Xbox 360 controllers in OS X have the same product GUID. The value is platform-dependent.

Function

Synopsis

guid = Joystick:getProductGUID( )

Arguments

None.

Returns

string guid
The Joystick product's unique identifier.

See Also

Other Languages