Navigation
API > API/Plugins > API/Plugins/EnhancedInput
Mapping issues arising from a QueryMapKeyIn... call.
| Name | EMappingQueryIssue |
| Type | enum |
| Header File | /Engine/Plugins/EnhancedInput/Source/EnhancedInput/Public/InputMappingQuery.h |
| Include Path | #include "InputMappingQuery.h" |
Syntax
enum EMappingQueryIssue
{
NoIssue = 0x00,
ReservedByAction = 0x01,
HidesExistingMapping = 0x02,
HiddenByExistingMapping = 0x04,
CollisionWithMappingInSameContext = 0x08,
ForcesTypePromotion = 0x10,
ForcesTypeDemotion = 0x20,
}
Values
| Name | Remarks |
|---|---|
| NoIssue | Mapping will not affect any existing mappings and is safe to apply. |
| ReservedByAction | Mapping has been reserved for the exclusive use of another action. The new mapping should be refused. |
| HidesExistingMapping | Mapping will cause an existing mapping to be hidden and/or need remapping. |
| HiddenByExistingMapping | Mapping will not be functional, due to an existing mapping blocking it. |
| CollisionWithMappingInSameContext | Mapping will be functional, but a collision with another mapping within this context may cause issues. |
| ForcesTypePromotion | Trying to bind an FKey with a less complex type than the bound action expects (e.g. Keyboard key bound to a 2D Gamepad axis. May not be desirable). Note: bool -> Axis1D promotions are never considered forced. |
| ForcesTypeDemotion | Trying to bind an FKey with a more complex type than the bound action supports (this could behave oddly e.g. 2D Gamepad axis bound to a 1D axis will ignore Y axis) |