Contents

motion

The motion input profile.

Declaration

var motion: GCMotion? { get }

Discussion

If the controller supports the motion profile, this property is a GCMotion object that you use to access the controller’s motion data. If the controller doesn’t support the motion input profile, this property is nil.

See Also

Accessing controller profiles