unreal.EnhancedInputPlatformData

class unreal.EnhancedInputPlatformData(outer: Object | None = None, name: Name | str = 'None')

Bases: Object

A base class that can be used to store platform specific data for Enhanced Input.

Make a subclass of this to add some additional options for per-platform settings

C++ Source:

  • Plugin: EnhancedInput

  • Module: EnhancedInput

  • File: EnhancedInputPlatformSettings.h

Editor Properties: (see get_editor_property/set_editor_property)

  • mapping_context_redirects (Map[InputMappingContext, InputMappingContext]): [Read-Write] Maps one Input Mapping Context to another. This can be used to replace specific Input Mapping Contexts with another on a per-platform basis.

get_context_redirect(context) InputMappingContext

Returns a pointer to the desired redirect mapping context. If there isn’t one, then this returns InContext.

Parameters:

context (InputMappingContext) –

Return type:

InputMappingContext

property mapping_context_redirects: None

[Read-Only] Maps one Input Mapping Context to another. This can be used to replace specific Input Mapping Contexts with another on a per-platform basis.

Type:

(Map[InputMappingContext, InputMappingContext])