Mac Developer Library

Developer

Game Controller Framework Reference

Introduction to Game Controllers

Classes   Other Reference  

The Game Controller framework, available on OS X and iOS, is used to receive inputs from game controllers inside your game.

Classes

NSObject

NSObject is the root class of most Objective-C class hierarchies.

GCController

A GCController object represents a connected physical game controller.

GCControllerElement

A GCControllerElement object represents a measurable value on a controller profile.

GCControllerAxisInput

A GCControllerAxisInput element measures movement along a particular axis.

GCControllerButtonInput

A GCControllerButtonInput element measure a button press.

GCControllerDirectionPad

A GCControllerDirectionPad object represents a two-dimensional control such as a directional pad or a thumbstick.

GCExtendedGamepad

A GCExtendedGamepad object implements a logical profile for a set of gamepad controls.

GCExtendedGamepadSnapshot

A GCExtendedGamepadSnapshot object records all of the values from an extended gamepad profile at a particular moment in time.

GCGamepad

A GCGamepad object implements a logical profile for a set of gamepad controls.

GCGamepadSnapshot

A GCGamepadSnapshot object records all of the values from a gamepad profile at a particular moment in time.

GCMotion

A GCMotion object implements a logical profile that provides information about how a controller is oriented and how it is moving.

Other Reference

Game Controller Functions Reference