Navigation
API > API/Runtime > API/Runtime/InputDevice > API/Runtime/InputDevice/IHapticDevice
References
| Module | InputDevice |
| Header | /Engine/Source/Runtime/InputDevice/Public/IHapticDevice.h |
| Include | #include "IHapticDevice.h" |
void SetHapticFeedbackValues
&40;
int32 ControllerId,
int32 Hand,
const FHapticFeedbackValues & Values
&41;
Remarks
Sets the frequency / amplitude of the haptic channel of a controller.
Parameters
| Name | 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 |