Class

GCControllerAxisInput

A control element measuring movement along a particular axis.

Declaration

@interface GCControllerAxisInput : GCControllerElement

Overview

An axis element is always an analog element.

Topics

Polling the Axis’ Value

value

The current value of the axis.

Receiving Notifications When the Axis’ Value Changes

valueChangedHandler

A handler to be called when the axis changes value.

Constants

GCControllerAxisValueChangedHandler

The signature for the block executed when an axis changes values.

Instance Methods

Relationships

Inherits From

See Also

Input Elements

GCControllerElement

An input associated with a physical control, such as a button or thumbstick.

GCControllerButtonInput

A control element measuring a button press.

GCControllerDirectionPad

A control element associated with a directional pad or a thumbstick.