class

InputBindingsConfig

Module
Input
Header
#include "Input/InputBindingsConfig.h"
Namespace
Mowo

Public functions

ReturnsNameDescription
std::unordered_map<std::string, Scope<InputContext>>LoadFromFileThe project tier is Config/Input.ini: a [Context <Name>] section per context (consumes_input=, priority=), an action per line — +Action=(Name="Jump",type="Button",Binding=((Name="Key",key="Space"))) — the MDF document's nodes spelled as UE structs.
boolSaveToFile
boolConvertLegacyA legacy Input.mdf in the INI form above, for ResolveConfigFile.
std::vector<FInputBindingOverride>LoadOverridesFromFileThe player tier of the same format: root Context nodes holding only the actions the player retargeted.
boolSaveOverridesToFileRewrites only the Context roots, leaving every other root alone — the user file is shared with InputManager's gamepad slot preferences, and clobbering those would reshuffle the player's pads on the next boot.
std::optional<KeyCode>StringToKeyCode
std::stringKeyCodeToString
std::optional<MouseButton>StringToMouseButton
std::stringMouseButtonToString
std::optional<GamepadButton>StringToGamepadButton
std::stringGamepadButtonToString
std::optional<GamepadAxis>StringToGamepadAxis
std::stringGamepadAxisToString
std::optional<InputSourceType>StringToSourceType
std::stringSourceTypeToString
std::optional<InputActionType>StringToActionType
std::stringActionTypeToString
std::optional<EInputModifierType>StringToModifierType
std::stringModifierTypeToString
std::optional<EInputTriggerType>StringToTriggerType
std::stringTriggerTypeToString
floatStringToSwizzleOrderSwizzle order code (InputModifier::param0) <-> "YXZ" ...
std::stringSwizzleOrderToString
std::optional<EInputAccumulation>StringToAccumulation
std::stringAccumulationToString

Function details

LoadFromFile

C++
static std::unordered_map<std::string, Scope<InputContext>> LoadFromFile(const std::string& filepath)

The project tier is Config/Input.ini: a [Context <Name>] section per context (consumes_input=, priority=), an action per line — +Action=(Name="Jump",type="Button",Binding=((Name="Key",key="Space"))) — the MDF document's nodes spelled as UE structs. LoadFromFile reads that, a legacy Input.mdf, or binary MDF; SaveToFile writes the encoding the extension names.

SaveToFile

C++
static bool SaveToFile(const std::string& filepath, const std::unordered_map<std::string, Scope<InputContext>>& contexts)

ConvertLegacy

C++
static bool ConvertLegacy(const MDF::MdfDocument& legacy, FConfigIniFile& out)

A legacy Input.mdf in the INI form above, for ResolveConfigFile.

LoadOverridesFromFile

C++
static std::vector<FInputBindingOverride> LoadOverridesFromFile(const std::string& filepath)

The player tier of the same format: root Context nodes holding only the actions the player retargeted.

SaveOverridesToFile

C++
static bool SaveOverridesToFile(const std::string& filepath, const std::vector<FInputBindingOverride>& overrides)

Rewrites only the Context roots, leaving every other root alone — the user file is shared with InputManager's gamepad slot preferences, and clobbering those would reshuffle the player's pads on the next boot.

StringToKeyCode

C++
static std::optional<KeyCode> StringToKeyCode(const std::string& str)

KeyCodeToString

C++
static std::string KeyCodeToString(KeyCode key)

StringToMouseButton

C++
static std::optional<MouseButton> StringToMouseButton(const std::string& str)

MouseButtonToString

C++
static std::string MouseButtonToString(MouseButton button)

StringToGamepadButton

C++
static std::optional<GamepadButton> StringToGamepadButton(const std::string& str)

GamepadButtonToString

C++
static std::string GamepadButtonToString(GamepadButton button)

StringToGamepadAxis

C++
static std::optional<GamepadAxis> StringToGamepadAxis(const std::string& str)

GamepadAxisToString

C++
static std::string GamepadAxisToString(GamepadAxis axis)

StringToSourceType

C++
static std::optional<InputSourceType> StringToSourceType(const std::string& str)

SourceTypeToString

C++
static std::string SourceTypeToString(InputSourceType type)

StringToActionType

C++
static std::optional<InputActionType> StringToActionType(const std::string& str)

ActionTypeToString

C++
static std::string ActionTypeToString(InputActionType type)

StringToModifierType

C++
static std::optional<EInputModifierType> StringToModifierType(const std::string& str)

ModifierTypeToString

C++
static std::string ModifierTypeToString(EInputModifierType type)

StringToTriggerType

C++
static std::optional<EInputTriggerType> StringToTriggerType(const std::string& str)

TriggerTypeToString

C++
static std::string TriggerTypeToString(EInputTriggerType type)

StringToSwizzleOrder

C++
static float StringToSwizzleOrder(const std::string& str)

Swizzle order code (InputModifier::param0) <-> "YXZ" ... "ZXY".

SwizzleOrderToString

C++
static std::string SwizzleOrderToString(float order)

StringToAccumulation

C++
static std::optional<EInputAccumulation> StringToAccumulation(const std::string& str)

AccumulationToString

C++
static std::string AccumulationToString(EInputAccumulation accumulation)
Generated from Input/InputBindingsConfig.h via input.json · Nov 2, 2026Version 1.0.0