IInputInterface::SetHapticFeedbackValues

Sets the frequency and amplitude of haptic feedback channels for a given controller id.

Windows
MacOS
Linux

Override Hierarchy

IInputInterface::SetHapticFeedbackValues()

FAndroidInputInterface::SetHapticFeedbackValues()

References

Module

ApplicationCore

Header

/Engine/Source/Runtime/ApplicationCore/Public/GenericPlatform/IInputInterface.h

Include

#include "GenericPlatform/IInputInterface.h"

Syntax

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

Remarks

Sets the frequency and amplitude of haptic feedback channels for a given controller id. Some devices / platforms may support just haptics, or just force feedback.

Parameters

Parameter

Description

ControllerId

ID of the controller to issue haptic feedback for

HandId

Which hand id (e.g. left or right) to issue the feedback for. These usually correspond to EControllerHands

Values

Frequency and amplitude to haptics at

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