GCDualSenseAdaptiveTrigger
A class that encapsulates the features of a DualSense adaptive trigger.
Declaration
class GCDualSenseAdaptiveTriggerOverview
A GCDualSenseAdaptiveTrigger object allows you to specify a dynamic resistance force that the DualSense controller applies when the user pulls the trigger. For example, set the resistance to give the user the feeling of pulling back on a bow string, firing a weapon, or pulling a lever.
Topics
Getting the mode
Configuring the trigger
setModeFeedbackWithStartPosition(_:resistiveStrength:)GCDualSenseAdaptiveTrigger.PositionalResistiveStrengthssetModeFeedback(resistiveStrengths:)setModeWeaponWithStartPosition(_:endPosition:resistiveStrength:)setModeVibrationWithStartPosition(_:amplitude:frequency:)setModeVibration(amplitudes:frequency:)GCDualSenseAdaptiveTrigger.PositionalAmplitudessetModeSlopeFeedback(startPosition:endPosition:startStrength:endStrength:)