Contents

GCDirectionalGamepad

A profile that supports only the directional pad, without motion or rotation.

Declaration

class GCDirectionalGamepad

Overview

The directional gamepad profile is similar to a micro gamepad profile except it doesn’t support motion or rotation. The controller’s motion property is nil and the inherited allowsRotation property is false.

If you select Micro Gamepad when you add the Game Controllers capability (GCSupportedGameControllers ) to your project, and you also support the GCDirectionalGamepad profile, select Directional Gamepad as well.

If you support the second-generation Siri Remote and later, set the GCSupportsMultipleMicroGamepads key to YES in the information property list in your project.

In addition, the directional pad element may report digital or analog values. If the directional pad’s isAnalog property is false, it reports absolute directional pad values (the reportsAbsoluteDpadValues property is true).

Topics

Accessing Elements by Name

See Also

Accessing controller profiles