Navigation
Unreal Engine C++ API Reference > Runtime > ApplicationCore > GenericPlatform > IInputInterface
- IInputInterface::SetHapticFeedbackValues()
- FNullApplication::SetHapticFeedbackValues()
References
Module | ApplicationCore |
Header | /Engine/Source/Runtime/ApplicationCore/Public/GenericPlatform/IInputInterface.h |
Include | #include "GenericPlatform/IInputInterface.h" |
virtual void SetHapticFeedbackValues
&40;
int32 ControllerId,
int32 Hand,
const FHapticFeedbackValues & Values
&41;
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
Name | 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 |