Instance Property

right

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

Declaration

var right: GCControllerButtonInput { get }

Discussion

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

See Also

Reading the Directional Pad as a Four Directional Buttons

var up: GCControllerButtonInput

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

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.