Contents

withMicroGamepad()

Returns a snapshot of a newly created controller with a micro gamepad profile.

Declaration

class func withMicroGamepad() -> GCController

Return Value

A snapshot with a micro 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