setModeVibration(amplitudes:frequency:)
Sets the mode to vibrate with the specified amplitudes for each possible trigger position.
Declaration
func setModeVibration(amplitudes positionalAmplitudes: GCDualSenseAdaptiveTrigger.PositionalAmplitudes, frequency: Float)Parameters
- positionalAmplitudes:
The amplitudes for each possible trigger position.
- frequency:
The frequency of the vibration effect, which is a value between
0and1, where0is the minimum and1is the maximum frequency.
See Also
Configuring the trigger
setModeFeedbackWithStartPosition(_:resistiveStrength:)GCDualSenseAdaptiveTrigger.PositionalResistiveStrengthssetModeFeedback(resistiveStrengths:)setModeWeaponWithStartPosition(_:endPosition:resistiveStrength:)setModeVibrationWithStartPosition(_:amplitude:frequency:)GCDualSenseAdaptiveTrigger.PositionalAmplitudessetModeSlopeFeedback(startPosition:endPosition:startStrength:endStrength:)