Contents

gamepad

The gamepad profile.

Declaration

var gamepad: GCGamepad? { get }

Discussion

If the controller supports the gamepad profile, this property is a GCGamepad object that you use to access the input elements of the controller. If the controller doesn’t support the gamepad profile, this property is nil.

See Also

Accessing controller profiles