Instance Property

up

A measurement of how far up the directional pad has been moved.

Declaration

var up: GCControllerButtonInput { get }

Discussion

The value of the up property is mutually exclusive with the value of the down property. This means that whenever the value of the up property is non-zero, the value of the down property is 0.

See Also

Reading the Directional Pad as a Four Directional Buttons

var down: GCControllerButtonInput

A measurement of how far down the directional pad has been moved.

var left: GCControllerButtonInput

A measurement of how far left the directional pad has been moved.

var right: GCControllerButtonInput

A measurement of how far right the directional pad has been moved.