UEnhancedInputLibrary::RequestRebuildControlMappingsUsingContext

Flag all enhanced input subsystems making use of the mapping context for reapplication of all control mappings at the end of this frame.

Choose your operating system:

Windows

macOS

Linux

References

Module

EnhancedInput

Header

/Engine/Plugins/Experimental/EnhancedInput/Source/EnhancedInput/Public/EnhancedInputLibrary.h

Include

#include "EnhancedInputLibrary.h"

Source

/Engine/Plugins/Experimental/EnhancedInput/Source/EnhancedInput/Private/EnhancedInputLibrary.cpp

Syntax

UFUNCTION(BlueprintCallable, BlueprintCosmetic, Category="Input")
static void RequestRebuildControlMappingsUsingContext
(
    const UInputMappingContext * Context,
    bool bForceImmediately
)

Remarks

Flag all enhanced input subsystems making use of the mapping context for reapplication of all control mappings at the end of this frame.

Parameters

Parameter

Description

Context

Mappings will be rebuilt for all subsystems utilizing this context.

bForceImmediately

The mapping changes will be applied synchronously, rather than at the end of the frame, making them available to the input system on the same frame.