Contents

backRightButton(position:)

Returns the name of the back right button at the specified location.

Declaration

static func backRightButton(position: Int) -> GCButtonElementName

Parameters

  • position:

    The relative position of the button to the other back right button. Pass 0 for the button nearest to the natural rest position of the person’s finger. Pass 1 for an additional button that requires the person to move their fingers to press if it exists.

Return Value

The name of the back right button.

See Also

Getting extended gamepad back button names