Instance Property

isAttachedToDevice

A Boolean property that indicates whether the controller is closely integrated with the device.

Declaration

var isAttachedToDevice: Bool { get }

Discussion

If true, then the controller is attached to the device or is close enough to it for the player to interact simultaneously with the controller and the device. If false, then the controller is not guaranteed to be near the device.

See Also

Inspecting a Controller

var vendorName: String?

The name of the vendor that manufactured the controller.