Navigation
API > API/Plugins > API/Plugins/EnhancedInput > API/Plugins/EnhancedInput/UserSettings > API/Plugins/EnhancedInput/UserSettings/UEnhancedInputUserSettings
References
| Module | EnhancedInput |
| Header | /Engine/Plugins/EnhancedInput/Source/EnhancedInput/Public/UserSettings/EnhancedInputUserSettings.h |
| Include | #include "UserSettings/EnhancedInputUserSettings.h" |
| Source | /Engine/Plugins/EnhancedInput/Source/EnhancedInput/Private/UserSettings/EnhancedInputUserSettings.cpp |
virtual void OnKeyMappingUpdated
&40;
FPlayerKeyMapping &42; ChangedMapping,
const FMapPlayerKeyArgs & InArgs,
const bool bIsBeingUnmapped
&41;
Remarks
A virtual function that will be called whenever a player key mapping has been updated, before OnSettingsChanged is called. This provides subclasses the opportunity to modify this key mapping before any settings screens are updated
This does nothing by default, but some subclasses may want to modify the mapping. Perhaps to change to a specific hardware device ID or something like that
Parameters
| Name | Description |
|---|---|
| ChangedMapping | The key mapping that has changed |
| InArgs | The arguments that were used to change this mapping. |
| bIsBeingUnmapped | True if this key mapping is being unmapped. False if the key mapping is just being changed |