Instance Property

gamepad

The gamepad profile.

Declaration

var gamepad: GCGamepad? { get }

Discussion

If the controller supports the gamepad profile, then this property holds a GCGamepad object. You use this object to access the input elements of the controller. If the controller does not support the gamepad profile, this property holds nil.

See Also

Determining Which Profiles Are Supported by a Controller

var extendedGamepad: GCExtendedGamepad?

The extended gamepad profile.

var microGamepad: GCMicroGamepad?

The micro gamepad profile.

var motion: GCMotion?

The motion input profile.