get_input_mapping_context
Read one Enhanced Input mapping context asset to list every action-to-key mapping. Use it instead of the deprecated mappings property, which returns an empty list.
Instructions
Read ONE Enhanced Input mapping context asset (IMC): every action-to-key mapping it declares. An IMC asset stores no priority -- that is given when the context is added to a player (AddMappingContext), so it is not reported here. The per-asset reader, and the reliable one -- the Python property InputMappingContext.mappings is deprecated and hands back an EMPTY list without failing, so a scan built on it reports a fully-bound context as empty. Use list_all_input_mappings for the project-wide "which keys are taken / which conflict" question.
Returns: { context_path, context_name, mappings: [{ action_name, key (display name), key_name (the FKey name map_input_action takes) }], mapping_count }
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| context_path | Yes | Full path to the InputMappingContext asset (e.g., /Game/Input/IMC_Default). |