product-id ( controller -- id )
Game controller input

Prev:product-string ( controller -- string )
Next:instance-id ( controller -- id )


Inputs and outputs
controllera controller
idA unique identifier

Word description
Returns an identifier uniquely representing the kind of game controller device represented by controller. This identifier will be the same for devices of the same make and manufacturer. The type of the identifier value is platform-specific, but equivalent product-ids are guaranteed to be testable with the = word. The identifier can be used to find devices of the same kind with the find-controller-products word.

See also
product-string, instance-id, find-controller-products, find-controller-instance