class

MGraphicsRebindScreen

The in-game control-rebinding screen: one tab per input context, one row per action, a key cap per device family. Clicking a cap puts it into the listening state; the host then feeds the next raw key, button or axis to the model.

Module
MiriGraphics
Header
#include "MiriGraphics/Widgets/MGraphicsRebindScreen.h"
Namespace
Miri

The model writes through the player tier (<project>/Saved/Config/InputUser.mdfb), never the project's committed Config dir, so a rebind belongs to the player and survives the Enhanced-Input contexts being rebuilt from asset data each session.

Public functions

ReturnsNameDescription
MIRI_WIDGET_ARGS
::Mowo::FMiriGraphicsRebindModel&ModelThe host routes raw input here while IsCapturing is true — the point of the listening state is to see keys the game itself is bound to.
const ::Mowo::FMiriGraphicsRebindModel&Model
voidSetContext
const std::string&GetContext
voidRebuild
MiriVec2ComputeDesiredSize
voidArrangeChildren
int32_tOnPaint
const char*GetTypeName

Function details

MIRI_WIDGET_ARGS

C++
MIRI_WIDGET_ARGS(MGraphicsRebindScreen) MIRI_EVENT(CSimpleDelegate, OnClosed) MIRI_WIDGET_ARGS_END() void Construct(const CArguments& args)

Model

C++
::Mowo::FMiriGraphicsRebindModel& Model()

The host routes raw input here while IsCapturing is true — the point of the listening state is to see keys the game itself is bound to.

Model

C++
const ::Mowo::FMiriGraphicsRebindModel& Model() const

SetContext

C++
void SetContext(const std::string& contextName)

GetContext

C++
const std::string& GetContext() const

Rebuild

C++
void Rebuild()

ComputeDesiredSize

C++
MiriVec2 ComputeDesiredSize(float scale) const override

ArrangeChildren

C++
void ArrangeChildren(const CGeometry& geo) override

OnPaint

C++
int32_t OnPaint(const CMiriPaintArgs& args, const CGeometry& geo, CMiriRenderer& renderer, int32_t layerId) const override

GetTypeName

C++
const char* GetTypeName() const override
Generated from MiriGraphics/Widgets/MGraphicsRebindScreen.h via mirigraphics.json · Dec 5, 2026Version 1.1.0