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
0and1, where0is the minimum and1is the maximum trigger depression. - resistiveStrength:
The strength of the feedback. A value between
0and1, where0is the minimum and1is the maximum strength.
See Also
Configuring the trigger
GCDualSenseAdaptiveTrigger.PositionalResistiveStrengthssetModeFeedback(resistiveStrengths:)setModeWeaponWithStartPosition(_:endPosition:resistiveStrength:)setModeVibrationWithStartPosition(_:amplitude:frequency:)setModeVibration(amplitudes:frequency:)GCDualSenseAdaptiveTrigger.PositionalAmplitudessetModeSlopeFeedback(startPosition:endPosition:startStrength:endStrength:)