# beginMessage
function beginMessage(input, team)Begin message.
| Parameter | Type | Default | Description |
|---|---|---|---|
input | dynamic | — | input value consumed by this operation. |
team | dynamic | — | team value consumed by this operation. |
src/miniquake2/client/ui/controller.mlProvides miniquake2 client ui controller facilities for this project.
miniquake2/client/ui/console.ml as cuiconsole → src/miniquake2/client/ui/console.mlminiquake2/client/ui/constants.ml as cuic → src/miniquake2/client/ui/constants.mlminiquake2/client/ui/gamepad.ml as cuigamepad → src/miniquake2/client/ui/gamepad.mlminiquake2/client/ui/input.ml as cuiinput → src/miniquake2/client/ui/input.mlminiquake2/client/ui/keys.ml as cuikeys → src/miniquake2/client/ui/keys.mlminiquake2/client/ui/menu.ml as cuimenu → src/miniquake2/client/ui/menu.mlminiquake2/native.ml as native → src/miniquake2/native.mlminiquake2/platform/window.ml as pwindow → src/miniquake2/platform/window.mlfunction beginMessage(input, team)Begin message.
| Parameter | Type | Default | Description |
|---|---|---|---|
input | dynamic | — | input value consumed by this operation. |
team | dynamic | — | team value consumed by this operation. |
function configureGamepad(enabled)Configure gamepad.
| Parameter | Type | Default | Description |
|---|---|---|---|
enabled | dynamic | — | enabled value consumed by this operation. |
controllerGamepadStateStores module-wide controller gamepad state state for the miniquake2 client ui controller module.
function editMessage(input, key)Return the edit message value.
| Parameter | Type | Default | Description |
|---|---|---|---|
input | dynamic | — | input value consumed by this operation. |
key | dynamic | — | key value consumed by this operation. |
function finishMessage(input)Finish message.
| Parameter | Type | Default | Description |
|---|---|---|---|
input | dynamic | — | input value consumed by this operation. |
function gamepadKeyEvent(key)Return the gamepad key event value.
| Parameter | Type | Default | Description |
|---|---|---|---|
key | dynamic | — | key value consumed by this operation. |
function gamepadState()Return the gamepad state.
function handleEvent(input, screen, event, time)Handle event.
| Parameter | Type | Default | Description |
|---|---|---|---|
input | dynamic | — | input value consumed by this operation. |
screen | dynamic | — | screen value consumed by this operation. |
event | dynamic | — | event value consumed by this operation. |
time | dynamic | — | time value consumed by this operation. |
function openMenu(input, screen)Open menu.
| Parameter | Type | Default | Description |
|---|---|---|---|
input | dynamic | — | input value consumed by this operation. |
screen | dynamic | — | screen value consumed by this operation. |
function poll(input, screen, time)Performs the poll operation for the miniquake2 client ui controller module.
| Parameter | Type | Default | Description |
|---|---|---|---|
input | dynamic | — | input value consumed by this operation. |
screen | dynamic | — | screen value consumed by this operation. |
time | dynamic | — | time value consumed by this operation. |
function pollGamepad(input, screen, time)Poll gamepad.
| Parameter | Type | Default | Description |
|---|---|---|---|
input | dynamic | — | input value consumed by this operation. |
screen | dynamic | — | screen value consumed by this operation. |
time | dynamic | — | time value consumed by this operation. |