For AI agents: the complete documentation index is available at /llms.txt, the full documentation bundle is available at /llms-full.txt, and this page is available as Markdown at /server-editor/interfaces/IGlobalInputManager.md.

Interface: IGlobalInputManager

Beta

Methods

registerBindingCategory()

registerBindingCategory(id, label, order): void

Beta

Parameters

id

string

Unique category identifier (use a CoreInputBindingCategory value or a custom string).

label

string

Localized display name shown as the group heading.

order

number

Numeric sort order; lower values appear first.

Returns

void

Remarks

Register a named control category for display in the Control Help panel.


registerKeyBinding()

registerKeyBinding(inputContextId, action, binding, info?): IRegisteredKeyBinding

Beta

Parameters

inputContextId

EditorInputContext

Id of the UI context to handle this binding.

action

SupportedKeyboardActionTypes

Action to register the binding for.

binding

KeyBinding

Keyboard binding to invoke action.

info?

KeyBindingInfo

Additional information about key binding.

Returns

IRegisteredKeyBinding

Remarks

Register a key press binding for an action which will be handled by the specified input context.


setMouseIcon()

setMouseIcon(contextId, mouseIcon): void

Beta

Parameters

contextId

EditorInputContext

The editor input context id (maps to EditorInputContext).

mouseIcon

MouseCursorIconType | undefined

The MouseCursorIconType, or null to clear.

Returns

void

Remarks

Set or clear the mouse cursor icon for a given editor input context layer.

Throws