Contents

updateConfiguration(forElement:configuration:)

Changes the configuration for one of the virtual controller’s input elements.

Declaration

func updateConfiguration(forElement element: String, configuration config: (GCVirtualController.ElementConfiguration) -> GCVirtualController.ElementConfiguration)

Parameters

  • element:

    The element whose configuration you want to change. For the possible values of this parameter, see the Elements property.

  • config:

    The new configuration for the element.

Mentioned in

See Also

Customizing the elements