Instance Property


The motion input profile.


var motion: GCMotion? { get }


If the controller supports the motion profile, then this property holds a GCMotion object. This profile is typically available when the controller is attached to a device that supports motion. You use this object to access the motion data of the controller. If the controller does not support the motion input profile, this property holds nil.

See Also

Determining Which Profiles Are Supported by a Controller

var gamepad: GCGamepad?

The gamepad profile.

var extendedGamepad: GCExtendedGamepad?

The extended gamepad profile.

var microGamepad: GCMicroGamepad?

The micro gamepad profile.