setModeSlopeFeedback(startPosition:endPosition:startStrength:endStrength:)
Sets the mode to provide feedback when the user tilts the trigger between the start and the end positions.
Declaration
func setModeSlopeFeedback(startPosition: Float, endPosition: Float, startStrength: Float, endStrength: Float)Parameters
- startPosition:
The effect’s start position, which is a value between
0and1, where0is the minimum and1is the maximum trigger tilt. - endPosition:
The effect’s end position, which is a value between
0and1, where0is the minimum and1is the maximum trigger tilt. This value must be greater thanstartPosition. - startStrength:
The effect’s start strength, which is a value between
0and1, where0is the minimum or off value, and1is the maximum strength. - endStrength:
The effect’s end strength, which is a value between
0and1, where0is the minimum or off value, and1is the maximum strength.
See Also
Configuring the trigger
setModeFeedbackWithStartPosition(_:resistiveStrength:)GCDualSenseAdaptiveTrigger.PositionalResistiveStrengthssetModeFeedback(resistiveStrengths:)setModeWeaponWithStartPosition(_:endPosition:resistiveStrength:)setModeVibrationWithStartPosition(_:amplitude:frequency:)setModeVibration(amplitudes:frequency:)GCDualSenseAdaptiveTrigger.PositionalAmplitudes