Contents

setModeFeedbackWithStartPosition(_:resistiveStrength:)

Sets the mode to provide feedback when the user depresses the trigger at the start position or at a greater value.

Declaration

func setModeFeedbackWithStartPosition(_ startPosition: Float, resistiveStrength: Float)

Parameters

  • startPosition:

    The effect’s start position. A value between 0 and 1 , where 0 is the minimum and 1 is the maximum trigger depression.

  • resistiveStrength:

    The strength of the feedback. A value between 0 and 1, where 0 is the minimum and 1 is the maximum strength.

See Also

Configuring the trigger