RealDocs

UKismetSystemLibrary::SetGamepadsBlockDeviceFeedback

function Engine Blueprint Since 4.0
#include "Kismet/KismetSystemLibrary.h"
Access: public Specifiers: staticBlueprintCallable

Description

Sets whether attached gamepads block haptic feedback from the mobile device itself while connected. Mobile only.

Caveats & Gotchas

  • Mobile only — meant for games where a paired gamepad replaces touch input and device vibration would be redundant or unwanted.
  • This affects device-level feedback (phone/tablet vibration), not the gamepad's own rumble motors, which are controlled separately through force-feedback APIs.

Signature

static ENGINE_API void SetGamepadsBlockDeviceFeedback(bool bBlock)

Parameters

Name Type Description Default
bBlock bool If true, attached gamepads suppress haptic/rumble feedback from the mobile device itself while connected.

Return Type

void

Example

Suppress device vibration when a gamepad is connected C++
UKismetSystemLibrary::SetGamepadsBlockDeviceFeedback(true);

Version History

Introduced in: 4.0

Version Status Notes
5.6 stable

Feedback

Was this helpful?

Suggest an edit

Select a field above to begin editing.