Contents

withExtendedGamepad()

Returns a snapshot of a newly created controller with an extended gamepad profile.

Declaration

class func withExtendedGamepad() -> GCController

Return Value

A snapshot with an extended gamepad profile.

Discussion

A snapshot is a copy of a real or virtual controller at a moment in time with its current element values. Unlike other controllers, you can set the values of a snapshot’s GCControllerElement objects.

See Also

Creating snapshots