Difference between revisions of "Joystick:getGUID"

(Created page)
 
m
Line 1: Line 1:
 
{{newin|[[0.9.0]]|090|type=function}}
 
{{newin|[[0.9.0]]|090|type=function}}
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.
+
Gets a stable GUID unique to the joystick product that does not change over time. For example, all Sony Dualshock 3 controllers in OS X have the same product GUID. The value is platform-dependent.
 
== Function ==
 
== Function ==
 
=== Synopsis ===
 
=== Synopsis ===

Revision as of 22:30, 28 August 2013

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 Sony Dualshock 3 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