addTouchpad(descriptor:)
Creates a new touchpad control with the provided descriptor, and adds it to the touch controller.
Declaration
func addTouchpad(descriptor: TCTouchpadDescriptor) -> TCTouchpadParameters
- descriptor:
The
TCTouchpadDescriptorcontaining the configuration for the touchpad.
Return Value
A new TCTouchpad instance.