IHapticDevice::SetHapticFeedbackValues

Sets the frequency / amplitude of the haptic channel of a controller.

Windows
MacOS
Linux

References

Module

InputDevice

Header

/Engine/Source/Runtime/InputDevice/Public/IHapticDevice.h

Include

#include "IHapticDevice.h"

Syntax

void SetHapticFeedbackValues
(
    int32 ControllerId,
    int32 Hand,
    const FHapticFeedbackValues & Values
)

Remarks

Sets the frequency / amplitude of the haptic channel of a controller.

Parameters

Parameter

Description

ControllerId

Id of the controller to set haptic feedback parameters on

Hand

Which hand, if supported, to add the haptic feedback to (corresponds to EControllerHand)

Values

The values to haptic parameter values (e.g. frequency and amplitude) set for the device

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss