Theia API Documentation v1.65.0
    Preparing search index...
    interface KeyboardLayout {
        code2Character: { [code: string]: string };
        key2KeyCode: KeyCode[];
    }
    Index

    Properties

    code2Character: { [code: string]: string }

    Mapping of KeyboardEvent codes to the characters shown on the user's keyboard for the respective keys.

    key2KeyCode: KeyCode[]

    Mapping of standard US keyboard keys to the actual key codes to use. See KeyboardLayoutService.getCharacterIndex for the index computation.