McTibetimWeb - v0.1.0
    Preparing search index...

    Implements the Extended Wylie Transliteration Scheme (EWTS) keyboard layout.

    Based on the Wylie transliteration format invented by Turrell V. Wylie in 1959. This layout is extremely popular among Western scholars, translators, and non-native learners. Instead of memorizing a new physical layout, users type the Romanized spelling of Tibetan words on a standard English QWERTY keyboard, which the software automatically converts into Tibetan Unicode on the fly.

    Uses the tibetan-ewts-converter to convert ASCII input to Tibetan Unicode.

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    Methods

    Constructors

    Properties

    layoutId: "wylie" = 'wylie'

    Unique identifier for this layout (e.g. 'sambhota_keymap_one').

    layoutName: "Wylie" = 'Wylie'

    Human-readable name for this layout (e.g. 'Sambhota Keymap #1').

    Methods

    • Returns display names for keys given the current modifier state.

      Parameters

      • shift: boolean

        Whether the Shift modifier is active.

      • ctrl: boolean

        Whether the Control modifier is active.

      • alt: boolean

        Whether the Alt modifier is active.

      Returns Map<string, string>

      A map from key character to its Tibetan display name.

    • Handles a key event within the given state.

      Parameters

      • key: Key

        The key to handle.

      • state: InputState

        The current input state.

      • stateCallback: (newState: InputState) => void

        Called with the new state when a transition occurs.

      • errorCallback: () => void

        Called when an unrecoverable input error is detected.

      Returns boolean

      true if the key was consumed by this layout.