class

FVirtualInput

On-screen controls (the MiriGraphics virtual joystick and virtual button) publish into numbered slots here, and the VirtualStick / VirtualButton binding sources read them back. Going through slots instead of a widget reference keeps the input layer below the UI and lets a designer wire a stick to an action by number in the mapping context editor.

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

Properties

TypeNameDescription
static constexpr int32_tkSlotCountDefault 8.

Public functions

ReturnsNameDescription
FVirtualInput&Get
voidSetStick
Vec2GetStick
voidSetButton
boolIsButtonDown
voidReset

Function details

Get

C++
static FVirtualInput& Get()

SetStick

C++
void SetStick(int32_t slot, float x, float y)

GetStick

C++
Vec2 GetStick(int32_t slot) const

SetButton

C++
void SetButton(int32_t slot, bool down)

IsButtonDown

C++
bool IsButtonDown(int32_t slot) const

Reset

C++
void Reset()
Generated from Input/VirtualInput.h via input.json · Dec 5, 2026Version 1.1.0