Contents

init(name:role:)

Creates a new instance with the provided name and type.

Declaration

init(name: String, role: TCControlLabel.Role)

Parameters

  • name:

    The name of the control label. Corresponds to the input name on the game controller’s physical input profile.

  • role:

    The role of the control label. Corresponds to the type of the GCControllerElementon the GCController.

Return Value

A new TCControlLabel instance.