Class

GCExtendedGamepad

The extended set of gamepad controls.

Declaration

@interface GCExtendedGamepad : NSObject

Overview

The controls associated with the extended gamepad profile include the following:

  • Two shoulder buttons.

  • Two triggers.

  • Four face buttons arranged in a diamond pattern.

  • One directional pad.

  • Two thumbsticks.

Topics

Determining the Controller That Owns This Profile

controller

The controller this profile is associated with.

Determining When Any Element in the Profile Changes

valueChangedHandler

A block called when any element in the profile changes values.

Reading Shoulder Button Inputs

leftShoulder

The left shoulder button element.

rightShoulder

The right shoulder button element.

Reading Directional Pad Inputs

dpad

The d-pad element.

Reading Face Button Inputs

buttonA

The bottom face button.

buttonB

The right face button.

buttonX

The left face button.

buttonY

The top face button.

Reading Thumbstick Inputs

leftThumbstick

The left thumbstick element.

rightThumbstick

The right thumbstick element.

Reading Trigger Inputs

leftTrigger

The left trigger element.

rightTrigger

The right trigger element.

Saving a Snapshot

saveSnapshot

Saves a snapshot of all of the profile’s elements.

Constants

GCExtendedGamepadValueChangedHandler

Signature for the block executed if any element in the extended gamepad profile changes value.

Relationships

Inherits From

See Also

Control Profiles

GCGamepad

The standard set of gamepad controls.

GCMicroGamepad

The controls provided by the Siri Remote.

GCMotion

The orientation and motion of the controller.