Skip to content

InputAPI reference

Interface IKeyLabels

Namespace: MicroEngine.Input
Assembly: MicroEngine.Input.dll
Guide: Input

The labels the player’s keyboard layout prints on keys: “Q” for A on AZERTY. A capability of input backends that know the layout (TryGetCapability``1).

C#
public interface IKeyLabels

Methods

KeyLabel(Key)

The key’s label in the current layout, or null when the backend cannot tell (the US name is used then).

C#
string? KeyLabel(Key key)

Parameters

key Key

Returns

string?