Theia API Documentation v1.77.0
    Preparing search index...
    Index
    currentLayout?: KeyboardLayout

    The transformed layout used for logical-character resolution and display.

    currentLayoutInfo?: IKeyboardLayoutInfo
    currentNativeLayout?: NativeKeyboardLayout

    The provider's original layout data used to verify characters produced by key events.

    keyboardLayoutChanged: Emitter<KeyboardLayout> = ...
    keyValidator?: KeyValidator
    layoutChangeNotifier: KeyboardLayoutChangeNotifier
    layoutProvider: KeyboardLayoutProvider
    • Resolve an authored keybinding stroke against the active layout. Physical and non-printable strokes, and strokes resolved without an active layout, are returned unchanged. Latin letters missing from the active layout resolve to their US key position; any other missing logical character is returned with KeyCode.supportedByLayout set to false. Authored Shift is absorbed when it produces the character (US-key tokens or shift-layer candidates); otherwise it remains a command modifier.

      Parameters

      Returns KeyCode