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
| Type | Name | Description |
|---|---|---|
static constexpr int32_t | kSlotCount | Default 8. |
Public functions
| Returns | Name | Description |
|---|---|---|
FVirtualInput& | Get | |
void | SetStick | |
Vec2 | GetStick | |
void | SetButton | |
bool | IsButtonDown | |
void | Reset |
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) constSetButton
C++
void SetButton(int32_t slot, bool down)IsButtonDown
C++
bool IsButtonDown(int32_t slot) constReset
C++
void Reset()Generated from Input/VirtualInput.h via input.json · Dec 5, 2026Version 1.1.0