static void TriggerHaptics( float leftMotor, float rightMotor, float leftTrigger, float rightTrigger, int duration )

Summary

Trigger a haptic event on supported controllers including Xbox trigger impulse rumble.

Remarks

SDL will translate these commands into haptic pulses that should work on all controller types.

static void TriggerHaptics( HapticEffect pattern, float lengthScale, float frequencyScale, float amplitudeScale )

Summary

Trigger haptics based on a predefined HapticEffect. All HapticEffects are normalized (start at 0, peak at 1).

static void TriggerHaptics( HapticEffect pattern, float frequencyScale, float amplitudeScale )

Summary

Trigger haptics based on a predefined HapticEffect. All HapticEffects are normalized (start at 0, peak at 1).
people
Log in to reply
You can't reply if you're not logged in. That would be crazy.