Navigation
API > API/Plugins > API/Plugins/EnhancedInput > API/Plugins/EnhancedInput/IEnhancedInputSubsystemInterface
Description
Check if a key mapping is safe to add to a given mapping context within the set of active contexts currently applied to the player controller.
| Name | QueryMapKeyInActiveContextSet |
| Type | function |
| Header File | /Engine/Plugins/EnhancedInput/Source/EnhancedInput/Public/EnhancedInputSubsystemInterface.h |
| Include Path | #include "EnhancedInputSubsystemInterface.h" |
| Source | /Engine/Plugins/EnhancedInput/Source/EnhancedInput/Private/EnhancedInputSubsystemInterface.cpp |
UFUNCTION (BlueprintCallable, BlueprintCosmetic, Category="Input|Mapping Queries")
virtual EMappingQueryResult QueryMapKeyInActiveContextSet
(
const UInputMappingContext * InputContext,
const UInputAction * Action,
FKey Key,
TArray< FMappingQueryIssue > & OutIssues,
EMappingQueryIssue BlockingIssues
)
Summary of resulting issues.
Parameters
| Name | Remarks |
|---|---|
| InputContext | Mapping context to which the action/key mapping is intended to be added |
| Action | Action that can be triggered by the key |
| Key | Key that will provide input values towards triggering the action |
| OutIssues | Issues that may cause this mapping to be invalid (at your discretion). Any potential issues will be recorded, even if not present in FatalIssues. |
| BlockingIssues | All issues that should be considered fatal as a bitset. |
See Also
- QueryMapKeyInContextSet