Contents

GCExtendedGamepad

A controller profile that supports the extended set of gamepad controls.

Declaration

class GCExtendedGamepad

Mentioned in

Overview

The extended gamepad controller profile represents a physical or virtual controller with the following input elements:

  • Two shoulder buttons

  • Two trigger buttons

  • Four face buttons in a diamond pattern

  • One directional pad

  • Two thumbsticks with optional thumbstick buttons

  • Optional Home and Options buttons

  • A Menu button

[Image]

If a GCController object supports this type of profile, get the input values of the elements from the controller’s extendedGamepad property or use the profile’s valueChangedHandler method to receive a callback when the input values change. Alternatively, use the saveSnapshot() method to capture the input values at a moment in time.

If the controller’s extendedGamepad property is nil, the controller doesn’t support this type of profile. See GCController for other profiles you can use.

Topics

Getting the controller

Getting change information

Getting shoulder button inputs

Getting trigger inputs

Getting face button inputs

Getting directional pad inputs

Getting thumbstick and thumbstick button inputs

Accessing elements by name

Setting snapshot values

See Also

Accessing controller profiles