EMappingQueryIssue

Mapping issues arising from a QueryMapKeyIn... call.

Windows
MacOS
Linux

References

Module

EnhancedInput

Header

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

Include

#include "InputMappingQuery.h"

Syntax

enum EMappingQueryIssue
{
    NoIssue                              = 0x00,
    ReservedByAction                     = 0x01,
    HidesExistingMapping                 = 0x02,
    HiddenByExistingMapping              = 0x04,
    CollisionWithMappingInSameContext    = 0x08,
    ForcesTypePromotion                  = 0x10,
    ForcesTypeDemotion                   = 0x20,
}

Values

Name

Description

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).

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)

Remarks

Mapping issues arising from a QueryMapKeyIn... call.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss