IInputInterface::SetForceFeedbackChannelValue

Sets the strength/speed of the given channel for the given controller id.

Windows
MacOS
Linux

Override Hierarchy

References

Module

ApplicationCore

Header

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

Include

#include "GenericPlatform/IInputInterface.h"

Syntax

void SetForceFeedbackChannelValue
(
    int32 ControllerId,
    FForceFeedbackChannelType ChannelType,
    float Value
)

Remarks

Sets the strength/speed of the given channel for the given controller id.

If the channel is not supported, the call will silently fail

Parameters

Parameter

Description

ControllerId

the id of the controller whose value is to be set

ChannelType

the type of channel whose value should be set

Value

strength or speed of feedback, 0.0f to 1.0f. 0.0f will disable

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